[releng] build-functions: Log git revisions