China’s foreign exchange reserves rose for the first time since June