Make kern_object_type() behave like all other syscalls (return status_t)