Ignore warnings about unused parameters

In addition, the dgl.h macros would get an extra semi-colon when expanded.