cleanup fixes for remote-mips.c