cec: only poll devices that need to be polled. fix libcec initialisation