Remove unused misc/byteswap.c
Provide stubs when cxx console is disabled