Other arches don't use the prekernel, so don't try to unmap it on non-x86 platforms. For some reason, this didn't cause aarch64 to crash, but on riscv64 this would cause a panic.