add macro guard CONFIG_X86_32 to event.regstr

support more architectures in future