Trying to sort of vaguely do what Linux does. With queued invalidation disabled (`hw.dmar.enable=1 hw.dmar.qi=0`) my laptop actually does resume :)
With QI, resume hangs at:
```
dmar1: programming irte[16] rid 0xfaf8 high 0x4faf8 low 0xe1
```
which is coming from ioapic's resume function. I don't know what do to about the IOAPIC unfortunately. Should it resume after dmar or something?
(debug prints are left over in the patch, I'll remove them in a later update)