Prevent length underflow in NfcTag.cpp am: c7b41a9674
am: 5762a2817d

Change-Id: Iec0678a6b441aa5368bcef0b211389d94c968a4b