modules/ims_usrloc_scscf: fixed poor pointer management in linked list looping