[PATCH] selftests, x86: fix how check_cc.sh is being invoked