Core: Fix case where a panic alert wouldn't be shown in MemoryUtil.cpp

On Linux failed mmap calls return `MAP_FAILED` and not `nullptr`.