extcap (GTK): Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

Change-Id: Ifdba972e3a12e01ac80bc920a2100bd7aa0f733c
Reviewed-on: https://code.wireshark.org/review/4622
Reviewed-by: Evan Huus <eapache@gmail.com>