hevc: make sure no dangling pointers remain around on VPS/SPS change