[PATCH 4.14 091/166] tools: gpio-hammer: Avoid potential overflow in main