RUBY-697 Support nolock option in DB#eval