libarchive: fix zstd compression support
The commit 833a452e9 introduced a change that detached
the zstd compression (not decompression) support from base build.
Reported by: kevans
(cherry picked from commit 7f815d4f128f063c1bac361c8f26b52ab7df1e6c)