fixes for clang3.3 --analyze static analyzer

most caused by possible null dereferences.

NOT MERGABLE YET. broke even some bytecode tests:
  classes/creature.pn classes/def.pn classes/sub.pn flow/except.pn
  tutorial/07_subclass.pn