[U-Boot] [PATCH 17/24] binman: Update entry_test to support Python 3