avio: exit early in fill_buffer without read_packet