bin/xbps-query/list.c: return error if pkgver or short_desc are NULL.
xbps_callback_array_iter_reverse: initialize rv (fixes garbage return value).
lib/package_unpack.c: fix a meamleak in error path.