osd/ReplicatedPG: adjust avg_size calculation in agent_choose_mode

Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
Merge pull request #2289 from wonzhq/avg-size-2

osd/ReplicatedPG: adjust avg_size calculation in agent_choose_mode