iwlagn: modify the debug macro to be usable by all the layers