RUBY-698 Use option constants from BSON:Regex class in java extension