avcodec/hevc_ps: add a function to uninitialize parameter set buffers