Remove some complex macros.
Remove some complex macros.

This patch reworks code in module_utils.c, in order to eliminate
the use of complex macros which expand into if-statement fragments.

razr/opentts,razr/opentts,razr/opentts,razr/opentts