osd/ReplicatedPG: agent_stop on_shutdown

It looks like this was never handled quite properly.

Fixes: #7637 Signed-off-by: Sage Weil <sage@inktank.com>