Fix overread/possible crash with intra refresh + VBV