Fix incorrect usage of foreach() macro

src/signals.c (pending): Call foreach() macro with second argument
as array, not pointer to array.