Adjust many Rlist iterations to use a const Rlist* and declare it more locally