std.Io.{Writer|Duration}: move duration formatting to a format method

Remove the `{D}` format specifier. It is moved into `std.Io.Duration` as
a format method.

Migration plan:

```diff
-writer.print("{D}", .{ns});
+writer.print("{f}", .{std.Io.Duration{ .nanoseconds = ns }});
```

All instances where `{D}` was used have been changed to use
`std.Io.Duration` and `{f}`.

Fixes #31281
99229ceb55hemisputnik committed on 2/28/2026, 1:46:04 AM· committed by Andrew Kelleyparent8c70fd0
4 files changedLine totals unavailable