We are opening the stream as read only and skipRawData would complain that
it's a write-only device, and skipping needs reading:
QIODevice::skip (QBuffer): WriteOnly device
It was a weird optimization anyway, so just pass the information like the
rest of the data and it works just fine.
BUG: 386364