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