update lwip git head
add conditional compilation of ipv6 source file
change code style
add judge of RT_USING_LWIP_HEAD
Merge pull request #330 from hduffddybz/ipv6

Add conditional compilation about IPv6 sources and headers, change code style