avcodec/hevc: Check num_entry_point_offsets