Bitcode Writer: EmitRecordWith* takes an ArrayRef instead of a SmallVector (NFC)