Fix counter handling in linked-list oit
Clearing the counter image value in shader messes with the readback
of the counter value so clear it by uploading zero.
Adjust the reportedNodeCount so that it can always holds the 'multiple'
amount of free nodes.
Add extra nodes to the reportedNodeCount when the viewport size
increases.
Pick-to: 6.11
Change-Id: I4ea600ef275eebd7c5a873b471d88da835cfe800
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Alexey Zerkin <alexey.zerkin@qt.io>
Reviewed-by: Christian Strømme <christian.stromme@qt.io>