[cec] Fixed PeripheralCecAdapter application exit code handling.

In CPeripheralCecAdapter::Announce, getting the app exit code from the CVariant "data" paramter did not work as the variant is a plain integer and does not contain a field "shutdown" (https://github.com/xbmc/xbmc/blob/master/xbmc/Application.cpp#L3484). This led to m_iExitCode always being EXITCODE_QUIT.

Consequence was, that on reboot or restart of kodi, TV (and AVR) got switched off, which is not intended (https://github.com/xbmc/xbmc/blob/master/xbmc/peripherals/devices/PeripheralCecAdapter.cpp#L397).

I suggest to include this fix in Helix.
Should probably use an enum instead, we have only 4-5 exit codes IIRC