URIUtils::IsHD: fix stack overflow, fixes #14812
Fix endless recursive loop if filename is stacked special