xsh_ping.c:  Fix argument parsing

The 'ping' shell command did not parse its arguments correctly and would
use the IPv4 'target' address uninitialized if any options were specified
but a destination address was not.