Prevent segfault with software renderer


SW renderer doesn't have opengles2 config set, so we need to
make sure the pointer does not include garbage.

Fixes: QTBUG-91032
Pick-to: 6.1
Change-Id: I98aa2f10889fe04c2f6f4af6abd0fe559ba686bf
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
commit824e0ba21a7b1e56264989c243c3138b09458751
parentd2c6249bb9292deec97b5a026be5efdb7a83bba7
authorTomi Korpipaa <tomi.korpipaa@qt.io>
committerTomi Korpipaa <tomi.korpipaa@qt.io>
commit timeWed, 10 Feb 2021 12:49:17 +0200