osd: make class load errors louder

Fixes: #4639
Signed-off-by: Sage Weil <sage@inktank.com>