add arch_ field to EncodedEvent
add arch_ field to BaseEvent
use new arch() accessor in record_extra_regs
change Event constructors to take a SupportedArch

Fixes #1331.