Add CFLAGS -Wdeclaration-after-statement

This warns local variables declarations after statement, which helps not to break MSVC
Merge pull request #2229 from linquize/Wdeclaration-after-statement

Add CFLAGS -Wdeclaration-after-statement