redshift: Properly handle errors in sigaction
redshift: Add enum member for unknown period_t (PERIOD_NONE)