x86: move get_segment_eip() to step.c