All dbcache-related values in the code are measured in MiB (not in
megabytes, MB) or in bytes.
The GUI "-prune" values in GB are translated to the node values in MiB
correctly. The maximum of the "-prune" QSpinBox is not limited by the
default value of 99 (GB).
Also, this improves log readability.
Backport of Core PR15163
It also includes a commit that fixes a bug introduced by this PR: 4ddeb2f860eee98fbe94725ea8885368068a03f2