Fix sizeof-pointer-memaccess warning with gcc 4.8

This patch fixes wrong memcpy size when copying ltk value to
HCI_OP_LE_LTK_REPLY command.

Change-Id: I44e5e3da15369d4b424581720ccd3bac820ef2e0
panel-mapphone: make sure retval of amoled_cmoste_wr is valid

Change-Id: I5a59766313e3ebd7d2a902cdcd5ceeb78aa9aedf