h265parser: Calculate short term RPS size in slice header
The calculated size of short_term_ref_pic_set is not a part of HEVC syntax but the value is used by some stateless decoders (e.g., vaapi, dxva, vdpau and nvdec) for the purpose of skipping parsing the syntax by the accelerator.
Edited by Seungha Yang