Add volatile to avoid compile errors.

https://github.com/solnic/perftools.rb/commit/9915414cac8e9fb2185595543085a7847c399f15