hevc: fix clean_refs