avcodec/hevc: Track long and short term RPS size for VDPAU