China 'agrees' to 30-year loan repayment period