Fix array out of bounds error on bad message params

Add length checks for the HDMI-CEC message params byte array.
Add unit tests for atom logging that cover the empty params case.

Bug: 195634268
Test: atest HdmiCecAtomLoggingTest
Change-Id: If250baebfc9ffed96bfce28aa30531d40b9e52b2
2 files changed