QNdefNfcTextRecord: fix status byte mask in setLocale()


The mask 0xd0 incorrectly preserved bit 4 from the old status byte,
causing the new status byte to contain a wrong language code length.
This can lead to data corruption when the record is read back.
Only the encoding flag (bit 7) and the RFU bit (bit 6) should be
preserved, so the correct mask is 0xc0.

Pick-to: 6.12 6.11 6.8 6.5 5.15
Change-Id: Ia3ac8ba305cc57773cf455c8ccb5ec0c201de6d2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commite30c6a926ff901a025333ddea5cd750cc2f26062
parentdfa2daa267b6f061820ae6f128568d2558e13a0c
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeThu, 18 Jun 2026 14:08:15 +0000