osd: Get pgid ancestor during OSD::build_past_intervals_parallel()

Signed-off-by: David Zafman <dzafman@redhat.com>