algos/snapshot: Add visit_type parameters to snapshot_get_latest
If that parameter is provided, it enables to get the latest snapshot produced by a specific visit type.
Related to swh/meta#5092.
If that parameter is provided, it enables to get the latest snapshot produced by a specific visit type.
Related to swh/meta#5092.