Fix too few items manufactured and days left calculation

fixes days left calculation for manufacturing screen for both TFTD and non-TFTD manufacturing rules
fixes producing fewer items than requested when manufacturing capacity exceeds 1 item per hour and using pre-TFTD rules