[Bug 35786] Incorrect behaviour in printf with 0 value on "%#x"