hevc: simplify ff_hevc_get_ref_list and callers of this function