Add allocation counter to trigger garbage collector during interpretation.

Only trigger between function calls, during bytecode interpretation,
to allow for intra-function race conditions where an object has been
created but not yet inserted into the stack or environment scope chain.
WIP