avcodec/h264_ps: fix storage size for offset_for_ref_frame