unpack_bootimg: fix pylint errors

Bug: None
Test: `python3 -m pylint unpack_bootimg.py` or `repo upload .`
Test: atest --host mkbootimg_test
Change-Id: I8403f1dfa61c63b2cf928ec50b3a087227e858bc
1 file changed