Include stdbool.h in the public interface headers in C mode

This avoids requiring the callers to explicitly include it before
including codec_api.h