Fix FindAllDevs error handling in tcpdump sample