Fix: #609 -- populate the shlibs_{provided,required} tables when
   converting the system to use pkg(8)

Allow PKG_DBDIR to override the default location of the pkg database