Avoid unused pg_to_acting_osds call in OSDMap::get_primary_shard

For replicated pools, OSDMap::get_primary_shard don't need to call pg_to_acting_osds which is expensive. 

Signed-off-by: Dong Yuan <yuandong1222@gmail.com>