Account for possible frm manipulation via #emit

When detecting function calls in debug hook make sure that something
is actually called (i.e. via the CALL instruction).

This fixes a bug in the callee address calculation where the address
was incorrect because there was no CALL and hence no address stored
in the code.