Core: ensure that ngx_config.h is always included first.
Core: ensure that ngx_config.h is always included first.

This fixes compilation of various 3rd party modules when nginx is
configured with threads.

firebase/nginx,firebase/nginx,firebase/nginx,firebase/nginx