China's economy slows in April as credit tightens