target: fix return code in target_core_init_configfs error path