Fix build failures due to https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck
The LDFLAGS environment variable is now set for every RPM build, but in
Fedora it contains one flag that is not supported by the golang linker.
Fix this by filtering out the unsupported flag.