avcodec/hevc_sei: Check num_sps_ids_minus1 value