util: format negative zero as '-0'

Fix for #6548:

Currently, negative zero appears as "0" in the console. However, it
would be less misleading for it to appear as "-0", as it does not
behave identically to 0.