Fix skipping the last keyframe from binary


Amends 485a7d016a282a543817a40a70ac8c7773142694

While loading binary keyframes, it skips the last frame.

Fixes: QTBUG-142669
Pick-to: 6.11 6.10 6.8
Change-Id: Id37aed0dfff95951208e27dd9f6017c7220ff803
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
commit8e0d7bb2bcab9fdb90d3d0eb47cb7e6a03c5e9a7
parentd38946f5930d355aacd602355c8250ee07015f42
authorInho Lee <inho.lee@qt.io>
committerInho Lee <inho.lee@qt.io>
commit timeFri, 2 Jan 2026 17:25:04 +0100