replace VolatileStatement with SynchronizedStatement

VolatileStatements don't really work anyway, and have been deprecated for years.