Fix a bug with the location counter calculation that becomes obvious
when running on 64-bit machines.

Submitted by:	Holm Tiffe <holm@freibergnet.de>
Obtained from:	https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655487


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