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.
Staging instance, all changes can be removed at any time
If that parameter is provided, it enables to get the latest snapshot produced by a specific visit type.
Related to swh/meta#5092.