Shared/Misc: Improve Windows crash report

Fix variable name not appearing with NULL pointers.