tst_QLinkedList: Unconditionally enable testing Java-style iterators
Remove the check for QT_NO_JAVA_STYLE_ITERATORS in code, because
it's unconditionally undefined in CMakeLists.txt so that we can test
them, even though we don't normally allow them in internal Qt code.
Also reverts commit 93be44c9c1c1e97de0d77de209d5c6e2c795d101
so we continue to test QLinkedList's Java-style iterators.
Task-number: QTBUG-100359
Pick-to: 6.3 6.2
Change-Id: Ib0cdfde02c49654a8587fb8058a26d7c095281ee
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>