Adds more guards for AVM1 interpreter

Fixes #156