Add ALLOW_UNUSED and use it for COMPILE_ASSERT for compatibility with
-Wunused-local-typedefs, part of -Wall in GCC 4.8.