shell(rm): stop the recursive walk from aborting on entries deeper than PATH_MAX (#39578)