libathemecore: ensure service_get_log_target() returns const.