ARM: Disable compat mcount code when unneeded.