CEC: Extract buildMessage from hex byte string

Extract buildMessage function used in multiple tests, move to HdmiUtils
and verify with tests.

Bug: 173182293
Test: atest HdmiUtilsTest
Change-Id: I5bf108014b73d08d95387215af618c32027f31f4
4 files changed