chore: replace to_radix
directive with brillig
#9970
Merged
to_radix
directive with brillig
#9970