[PATCH AUTOSEL 4.9 57/90] tools: gpio-hammer: Avoid potential overflow in main