[autotools] Remove redundant GXX0X calls in m4 tests
[Headercheck] Add missing include statement