target/arm: Move debug routines to debug_helper.c