[PATCH openEuler-5.10-LTS 151/166] perf python: Fix probing for some clang command line options