China’s foreign-exchange reserves rose in August, reversing a decline in July, according to data released Sunday by the People’s Bank of China.