Make std.string.removechars @safe and pure