x86, perf: Change two init functions to static