Mark std.file.attrIsDir, attrIsFile and attrIsSymlink as safe pure nogc

They do not contain any unsafe, impure or GC-sensitive operations.