FIX: number of peaks returned from feature.corner_peaks

corner_peaks accepted a num_peaks argument, but the call
to peak_local_max inside the function used np.inf instead
of the value of this keyword argument, leading to an unbounded
number of peaks being returned.