x64-upstream: Fix the judgement of target_arch