libcec: fix assertion failure on rpi