acpi: run interrupt handler in a thread

ACPI interrupt handlers are allowed to take locks, so we must run them in
a thread.  Add a class to take care of this, arranging for the thread to
exit when done.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>