Prevent integer overflow in NDEF_MsgValidate am: 91c68129df
am: 475212825f

Change-Id: If171afcfac601870e05c52b0146a7dba7b927bc0