Adjust CMake condition and condition in code when including vulkan headers


The include of 'qrhivulkan_p.h' is guarded by 'qt3d_vulkan' feature,
but in CMake the file added to the source tree if the 'vulkan' feature
is enabled. Use both conditions to guard respective files.

Add the missing header files to evaluate respective features correctly.

Task-number: QTBUG-103196
Change-Id: Icc24c448c1e22cc6a157f242eefa91e9c8453865
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commita02cbeb5042003919007c3649460dd5d119dc1ef
parentfe1556f88b9e7bbcb69cd04d4a0a9ff2662e9ff4
authorAlexey Edelev <alexey.edelev@qt.io>
committerAlexey Edelev <alexey.edelev@qt.io>
commit timeFri, 23 Sep 2022 16:55:30 +0200