[PATCH] scripts: dtc-version: support git version strings too