Prevent Out of bounds read in llcp code

Modifies llcp_util.cc & llcp_link.cc to fix the OOB issues.

Test: Nfc Enable/Disable, Android Beam, Tag reading
Bug: 114237888
Bug: 114238578
Bug: 111699773
Bug: 111660010
Merged-In: Ie28888ddb9a5a2605ae32a27e3dba01c35ab3913
Change-Id: Ie28888ddb9a5a2605ae32a27e3dba01c35ab3913
(cherry picked from commit 23eb85a028780af14f617e27938540a52c18a8d5)
2 files changed