MozNdefRecord: Fix possible crash issue if null fields are used.