make sure riml_source doesn't source same file multiple times

Don't get stuck in infinite loop sourcing same file over and over
when referenced by different files, and it becomes recursive.