Move more functions to take a CPUState* instead of CPUArchState*

Change-Id: Ifa771aef715da57986a3edaa9fed0a2f78e6723c
15 files changed