[swfinterp] Use helper function struct_unpack for old Python 2.x releases (#3270)