algos/snapshot: Add visit_type parameters to snapshot_get_latest
Merged
requested to merge anlambert/swh-storage:snapshot_get_latest_visit_type_filtering into master
If that parameter is provided, it enables to get the latest snapshot produced by a specific visit type.
Related to swh/meta#5092.