MFV r341771,342040,342041:
Sync libarchive with vendor.
Relevant vendor changes:
PR #1102: RAR5 reader - fix big-endian problems PR #1105: Fix various crash, memory corruption and infinite loop conditions PR #1107: RAR5 reader: removed an unused function: bf_is_last_block
MFC after: 1 week