bus/fslmc: use memseg walk instead of iteration