Onshore yuan hits 2007 dollar low on China slowdown fears