osd: Fix bugs in PG::read_log() handling

Signed-off-by: David Zafman <david.zafman@inktank.com>