Fix ICE in get_substring_ranges_for_loc on __FILE__ (PR c++/87721)