fix compilation on mips

For mips64 and mips64el, they use -mabi=64 instead of -m64.
Thanks to Yunqiang Su for the patch (Debian #747431).