Fix scan handling of error when on CVM.

raise_with_op moved from gof.vm to gof.link