Prevent OOB access in Ndef read

Bug: 145520471
Test: read ndef
Change-Id: I21ad56d317c6673fe2cc5411dd7c7b310180f1aa
(cherry picked from commit 18e850861dd05ecb4a8b0f05286515a636cf0836)
1 file changed