[build] fix powerpc --m=64 GH #1110

ppc64 can run on powerpc 32bit OS with a ppc64 CPU, and needs -m64 then.
-mabi=64 does not work there.