ReplicatedPG::finish_ctx: use correct snapdir prior version in events

Fixes: #7595
Reviewed-by: Greg Farnum <greg@inktank.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>