cpus: move icount preparation out of tcg_exec_cpu