Fixed string size calculation in winpr_HexDump

Fixes a bug introduced with #2036