Add MIPS_HFLAG_64 flag for TARGET_MIPS64
Fix ioctl typo. IOC_* were wrong for TIOCSPGRP and TIOCGPGRP.
Fix unused variable compiler warning.
Ignore qemu's lingering files.