x86: convert permanent_kmaps_init() from macro to inline