Properly count AVM1 instructions during branching
Merge pull request #1834 from yurydelendik/avm1instr

Properly count AVM1 instructions during branching