Mark std.string.lastIndoxOf as @safe pure