[x86] Fix the IO port emulation r/w size

A wrong type casting of the rAX value provides
a wrong value to the emulation layer.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>