RUBY-698 always add the m flag when converting from native to bson regex