[AArch64] Pacify lld buildbot complaining about an unused static function in release build.