std.fmt: fix formatting of array pointers

- Clean up array formatting code. Remove buggy formatting of array
pointers, deference pointer to reuse existing array formatting logic.
- Change default specifier for array pointers to be "{any}", to be
consistent with slices.
- Allow using "{x}" and "{e}" for arrays and slices for all number
types, including u8.

Fixes #18185
fd98fc1c5fVitalijus Valantiejus committed on 12/22/2023, 2:35:28 PM· committed by Veikka Tuominenparent70b2484
1 file changedLine totals unavailable