DEBUG: Fixed broken size check for weak mappings.

Fixes fatal "Rehash failed, size not same any more.".
Signals: Fixed typo in internal_add_limit().
Make it easier for code checkers.
Signals: Fixed compilation errors on when not NEED_SIGNAL_SAFE_FIFO.

ie This fixes compilation errors on non-Linux.