Compilation fix for libcec 2.2.X

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>