memory: do_dump_memory_diagnostics(): print numbers in a compact and human readable way
memory: do_dump_memory_diagnostics(): print numbers in a compact and human readable way

Convert sizes to the closest multiple of 2^(N*10) and use the
appropriate suffix (B, K, M, G, T). E.g. 2K instead of 2048.
Convert numbers to the closest multiple of 10^N and use the appropriate
suffix (k, m, b, t), E.g. 340k instead of 340000
Both conversions try to keep at least 3 digits of precision, e.g.
3481698 will be converted to 3481k, instead of 3m. However if there is
no remainder, the highest possible N will be used.
Convert percentage calculated as double to unsigned.

This makes the report more compact but more human readable as well at
the cost of losing some information. But as this report is only supposed
to be the first step of an investigation, this is acceptable.

scylladb/seastar,scylladb/seastar,avikivity/seastar,syuu1228/seastar,cloudius-systems/seastar,avikivity/seastar,cloudius-systems/seastar,dreamsxin/seastar,syuu1228/seastar,scylladb/seastar,dreamsxin/seastar,cloudius-systems/seastar,avikivity/seastar,syuu1228/seastar,dreamsxin/seastar