Fix RecordWriteStub::GetMode() for S390 branch sequences