Fix visual artifacts when drawing transparent objects with ll-oit
The transparent objects sometimes show visual glitches when zooming in
on a transparent objects when using linked-list oit. This happens
because there are not enough free nodes to handle the demand.
Instead of using fixed amount of free nodes, use the screen size as a
base for free nodes and ensure at least 50% of nodes required for screen
size are always available.
Pick-to: 6.12 6.11
Fixes: QTBUG-147169
Change-Id: I65a0279033fe9a248d844fbf9b496c3969322319
Reviewed-by: Andy Nichols <andy.nichols@qt.io>