xbps_configure_pkg: do not flush pkgdb if state hasn't been changed.
xbps_configure_pkg: do not flush pkgdb if state hasn't been changed.

stpx/xbps,datenwolf/xbps,datenwolf/xbps,ebfe/xbps,ebfe/xbps,datenwolf/xbps,stpx/xbps,ebfe/xbps,stpx/xbps