update debug log

An offset address is not shown properly, when the current instruction is
OP_FINISH.
(cherry picked from commit e03a32180a62d7c1bebe59d6d0a6fadd0a70ee68)