Add support for PIE and for external linker and build-id
Adopts use of external linker for binaries packaged in rpms. Basically
using the syntax found in %{gobuildflags} but decomposed into GOFLAGS
for compiler options and GOLDFLAGS for linker options. Resolves rpmlint
error flags for no build ids and for missing PIE support.