FindMPI: do not detect `-framework` as a compile flag

MPICH 3.4.2 now reports `-framework OpenCL` as one of its compilation
flag. The compile flag extraction is seeing it as a generic `-f` flag
and misses its argument. This ends up with a compile option of
`-framework` which eats the next flag (and may be very important).

It does not seem that passing `-framework` as a link flag is necessary
at this time, so that is being actively ignored for now.

Fixes: #22555
55 jobs for !6467 with FindMPI-framework-not-a-compile-flag in 4 minutes and 29 seconds (queued for 1 second)
latest detached
Status Name Job ID Coverage
  Build
manual build:centos6-x86_64 #6079884
cmake build docker linux manual
manual build:fedora34-ninja #6079885
cmake build docker linux linux-3.17 manual
manual build:macos-x86_64-makefiles #6079887
cmake macos shell xcode-12.5 nonconcurrent manual
manual build:macos-x86_64-ninja #6079886
cmake macos shell xcode-12.5 nonconcurrent manual
manual build:windows-vs2019-x64-ninja #6079888
cmake windows shell vs2019 msvc-19.29-16.10 nonconcurrent manual
passed lint:codespell #6079880
cmake build docker linux

00:00:39

passed lint:debian10-iwyu #6079881
cmake build docker linux

00:03:23

passed lint:fedora34-sphinx #6079883
cmake build docker linux linux-3.17

00:04:28

passed lint:fedora34-tidy #6079882
cmake build docker linux linux-3.17

00:03:34

 
  Test
created test:fedora34-ninja #6079889
cmake docker linux linux-3.17 x11
created test:macos-x86_64-makefiles #6079891
cmake macos shell xcode-12.5 nonconcurrent
created test:macos-x86_64-ninja #6079890
cmake macos shell xcode-12.5 nonconcurrent
created test:windows-vs2019-x64-ninja #6079892
cmake windows shell vs2019 msvc-19.29-16.10 nonconcurrent
 
  Test Ext
created test:cuda10.2-nvidia #6079895
cmake cuda-rt docker linux
created test:debian10-ninja #6079893
cmake build docker linux linux-3.17
created test:fedora34-makefiles #6079894
cmake build docker linux linux-3.17
created test:fedora34-ninja-multi #6079896
cmake build docker linux linux-3.17
created test:macos-x86_64-xcode #6079897
cmake macos shell xcode-12.5 concurrent
created test:windows-vs2019-x64 #6079898
cmake windows shell vs2019 msvc-19.29-16.10 concurrent
 
  External
passed cdash

passed ghostflow-check-master

passed ghostflow-check-release

passed ghostflow-stager

passed cdash

passed cdash

passed cdash

passed cdash

passed cdash

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager