Doc: scheduler: add a doxygen block to rsc_avoids_remote_nodes()
Also make argument const and tweak formatting