Changing ruby_parser dependency to ~> 3.1

As per: https://github.com/seattlerb/ruby2ruby/pull/13\#issuecomment-12348071