PS-6966: Fix compilation flags
PS-6966: Fix compilation flags

1. Fix `set_cflags_if_supported` macro (add missing `STRING (REGEX REPLACE "-" "_" temp_flag ${flag})`)
2. Remove unused flags

percona/PerconaFT,percona/PerconaFT,percona/PerconaFT,percona/PerconaFT