test-lib: use DIFF definition from GIT-BUILD-OPTIONS