Fixes trapframes on x86