simplify try_dissect_next_protocol()

Change-Id: Idd9690689217bdfc66f9eee1461422358e837774
Reviewed-on: https://code.wireshark.org/review/3597
Reviewed-by: Michael Mann <mmann78@netscape.net>