psd: Fix crash on broken files
Instead of resizing the bytearray to the potential size and then reading into it, ask the device to read into a bytearray, this way instead of a crash because we're trying to resize to a too big number we get a nice maxSize argument exceeds QByteArray size limit warning
oss-fuzz/46664