nsbcompile2: Fix UTF-16 compilation of functions and write scene/chapter symbols to .map