Extinction risk for a population driven by a jump-diffusion equation