Port binary JSON to new special integer bitfields


The old special integer bitfields are unsafe. The compiler can optimize
out writes to different members of the same union.

Pick-to: 6.2 6.3
Task-number: QTBUG-99545
Change-Id: Ib1bda98842905598f7b621e45451c8c8857f8ee3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
commit59abc89353e2a8e4ca6d3264b598f20b27a217eb
parentb4f927dc94f02a2fa7edd5ecb3ef1ab8bffaedd0
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeWed, 11 May 2022 16:26:30 +0200