Single-shot readout of a superconducting flux qubit with a flux-driven Josephson parametric amplifier