Emscripten--, Clang-analyzer bugs fixed

- Emscripten dropped, cannot be supported due to lack of threads
- fixed bugs found by Clang analyzer
- ozCore
  * checking for integer overflows in ensureCapacity()