Currently, ipc_thread() calls nvlist_get_string(nvl, "cmd") and
compares result to NULL. It is not the right way of handling
errors because nvlist_get_string() aborts if the key does not exist.
Thus, bhyve aborts for messages with a missing command name.
Fix by checking "cmd" with nvlist_exists_string().
Reported by: llm-postcr
MFC after: 3 days