replace VolatileStatement with SynchronizedStatement
Merge pull request #1815 from WalterBright/removeVolatile

replace VolatileStatement with SynchronizedStatement