[kvm-unit-tests PATCH v2 1/5] x86: emulator.c cleanup: Save and restore exception handlers