SMAP i386: fix build, added forgotted variables

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
SMAP i386: fix typo in trap.c - rflags -> eflags

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>