Move kernel object functions from its headers to compilation units, thereby reducing the kernel's text section, cache, and TLB footprint. Fix #1492