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

Change-Id: I1540c7878692625a9e38b48f8681c07bab852a64
Reviewed-on: https://code.wireshark.org/review/5234
Reviewed-by: Michael Mann <mmann78@netscape.net>