Common: Simplify StripTailDirSlashes