std.format: clean imports

[Issue 13253 - use more scoped imports in phobos](https://issues.dlang.org/show_bug.cgi?id=13253)
See also: #2661 
What's the reason for this change?