xbps-src/shutils/bulk: perform topological sort of build-deps.