lang/ruby40: Update to 4.0.5
- Remove USE_LOCALE workaround [1]
Changes: https://github.com/ruby/ruby/releases
https://github.com/ruby/ruby/blob/master/NEWS.md https://www.ruby-lang.org/en/news/2026/05/20/ruby-4-0-5-released/
Security: CVE-2026-46727
Reference: https://bugs.ruby-lang.org/issues/22065 [1]
(cherry picked from commit 276529287f4dc5b0812fbd0ff978c7be40ca01b9)