Fix issue 3363: std.stream.readf segfaults with immutable format strings

https://issues.dlang.org/show_bug.cgi?id=3363