Fix NULL pointer deref in mark function.

Move init of tmbc struct, so that it's done before a raise/GC run can happen.