Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.

Bug: https://bugs.php.net/bug.php?id=68091

This can be applied directly to PHP-5.5 and merged upwards.