Fix division by zero in Icinga\Util\Format

refs #6125