h264_slice: Wait for refs to be available before we use them in error concealment