i386: convert hardware exception 10 to an interrupt gate