mosaic-ck: fix build with clang

I played whack-a-mole with return type warnings for a while but gave up. This seems to be the simplest fix.