Fix error returns in new world methods

(raptor_world_get_parser_factory,
raptor_world_get_serializers_count): Fix return value in assertions