Fix for step_event with callback resetting

If a user calls vmi_step_event in the callback from another vmi_step_event, it results in the VM being stuck in singlestep state as the counter goes out of sync. Why this problem only surfaces now is a mystery as I have been using this API without a problem for a while now.