X86: Report an error if there's no kernel object, don't blindly use it.