[9.20] chg: dev: Optimize memory layout of core structs
Reduce memory footprint by:
- Reordering struct fields to minimize padding.
- Using exact-sized atomic types instead of
*_least
/*_fast
variants - Downsizing integer fields where possible
Affected structs:
- dns_name_t
- dns_slabheader_t
- dns_rdata_t
- qpcnode_t
- qpznode_t
Closes #5022 (closed)
Backport of MR !9721 (merged)