Add a C89 compliance test for the headers.

Technically we still require a couple things from C99 like "bool",
but it works with -std=c89 under gcc.