Refactor|libdoom|libdoom64|libheretic|libhexen: Switched *console.c to C++, cleanup