cec: fix crash on exit after GetDeviceInformation()