ceph-osd: don't close stderr if not daemonizing

Otherwise, one loses log messages when running with -f or -d

Fixes: #10010, #10113, #9810

Signed-off-by: Dan Mick <dan.mick@redhat.com>