Add the needed changes for amd64-gcc to build

Reported by:	antoine
Pointyhat:	bapt


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@373658 35697150-7ecd-e111-bb59-0022644237b5