libpacman: Make pmdb_t::treename a pointer to pmdb_t::path basename, so we avoid a malloc.