Shared/Misc: Improve Windows crash report

Fix crash due to small buffers.