build: decouple the mips16 support flag from the toolchain