xbps_pkg_reverts: style.
bin/xbps-pkgdb/check.c: fix assertion due to double free.