rts: use allocation helpers from RtsUtils
I was just getting familiar with rts codebase so I decided to execute what was suggested in #19437 (comment 334271)
Edited by Alex D
I was just getting familiar with rts codebase so I decided to execute what was suggested in #19437 (comment 334271)