[PATCH openEuler-5.10 171/557] selftests, x86: fix how check_cc.sh is being invoked