Nonlinear resonant behavior of the dispersive readout scheme for a superconducting flux qubit