osd/OSDMap: fix typo and crush types helper

Bah!

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