ext/rpmdb: Also look in /usr/share/rpm

In the rpm-ostree model, the RPM database lives in /usr/share/rpm, and
is immutable.  Normally, I have a compatibility symlink that lives in
/var, but I'd like to use libsolv (via hawkey) when /var isn't
mounted, for an external root.