Use the exact type in realloc(N * sizeof(TYPE*))

This one was missed previously as it's not used within htslib.