target-i386: Move cpu_has_work to cpu.h

+ Remove obsolete cpu_halted() function.

Change-Id: I9d723919b085137c77fd57b9571f7257bb41f159
4 files changed