Pass compile constants to weavers.

By passing the compile constants to the weavers they can tell if the build is in debug or not.

I need this to implement a fix for Fody/NullGuard#13