Adds mipsn32 and x32 sources. Also remove some useless .in files.
This is the part of #3960 that has to be rewritten to apply to latest master branch code.