rendertestsuite: Create directories if missing


Instead of just printing:
"Could not save PNG file baseline/file.png"
or:
"Could not save side-by-side image at difference/file.png"

Change-Id: I96cbae3e505677fea8e5bc7dfb1c896ed7bdb6cc
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit57167296f6a9e39f378f87881c7bc54a0a1209d2
parentb0488db37001d3cd65bdf9b661d782451f19e0b5
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeWed, 16 Apr 2025 22:18:24 +0200