[C] Use highest equivalent value in hdr_value_at_percentile.