[U-Boot] [PATCH 18/24] patman: Update fmap code for Python 3