i386: convert hardware exception 0 to an interrupt gate