cec: use int instead of bool on the public C interface and remove stdbool.h include