rts: Add missing `const` from HashTable API