Add dissect_pkt_line helper that dissects a single pkt-line and simplifies the pre-existing dissect_git_pdu().
A later patch will make use of this same helper for HTTP support.
Part of #17093