fix uclibc for mips by adding missing upstream hunks