wireshark: Fix condition for disabling the wireshark binary

Closes #27341.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>