Mark std.string.splitLines as @safe pure

`splitLines` only accepts built-in string types and it doesn't contain unsafe/impure instructions.