update ff_hevc_find_ref_idx : find smaller long term reference