wireshark: add optional libsmi dependency.

Closes #33167.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>