[PATCH] tools: pblimage: fix image header verification function