Adapted clang-AMD-FMA workaround for both C and C++