Encoding: Fix compile errors with old gcc versions.
Merge topic 'libarchive-encoding' into next

e97d3d5d Encoding: Fix compile errors with old gcc versions.