osd: Eliminate compiler warnings

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