h8300: Convert interrupt handling to flow handler