fix vips_hist_match()

it wasn't upcasting input to uint due to a mix-up with VipsHistogram