netsniff-ng: Use while() instead of empty for

Instead of using a foor loop with empty initialization and afterthought,
just use a while loop with the same condition.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>