mon: OSDMonitor: don't output to stdout in plain text if json is specified

Fixes: #3748

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Merge git://github.com/ceph/ceph