Optimize enums size and improve struct packing


Make enums quint8 and reorder QCState and QCContext structs for tighter
packing. The size of QCState for example drops from 680 to 648 bytes.

Pick-to: 6.11
Change-Id: I922e5d203af65089118f68eb971569f7b1c94675
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
commit72fb0a5c3ae5a06284478d409dd8a4762f8a37d6
parentf67be011c477c48c49593420a9116bb86cbbfefc
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeMon, 9 Mar 2026 13:31:22 +0200