[PATCH v2 1/7] binman: bintool: move version check implementation into bintool class