WFLY-2829 Optimistic locking w/write skew check requires versioning to be enabled

https://issues.jboss.org/browse/WFLY-2829