arm, powerpc: Update cc-version tests to check for cc-name as well