Switch auto-deploy builds to Ruby 3.1

Related to &10034 (closed). Once we are ready to switch GitLab.com to Ruby 3.1, we should switch auto-deploy packages to Ruby 3.1. For that, set USE_NEXT_RUBY_VERSION_IN_AUTODEPLOY variable to true in the Build mirror.

Edited by Balasankar 'Balu' C