QByteArray::resize doesn't work for std::numeric_limits<int>::max()
https://bugreports.qt.io/browse/QTBUG-75470
rumour is that it only works up to 2^31 but since there's no define or
https://codereview.qt-project.org/#/c/260072/1/src/corelib/tools/qbytearray.cpp
similar better just use plain old new[]/delete[]documents that it "alwaus"works until 2^31 - 32 so use that
oss-fuzz #14397