checkasm: arm: Use X() instead of inline ifdefs
This works fine when the referenced symbol has the same prefix as PRIVATE_PREFIX in the same file; otherwise we could also create a macro like X() that only prepends the extern symbol prefix but no symbol namespace prefix.