Make picking honor the material's cull mode
pick() only ever accepted front-facing triangles, so geometry rendered
with Material.NoCulling or FrontFaceCulling could be seen but not picked
from the back. Make triangleIntersect() two-sided and pass the subset
material's cull mode down through intersectWithBVH(), rejecting the face
orientation the material culls.
The facing test runs in model-local space, so also swap the cull mode
for models with a mirroring transform, which would otherwise get the
inverted result.
Fixes: QTBUG-140404
Pick-to: 6.12
Change-Id: I1bcbaae2f2b7d7fe52a210c9acdd005d8412bb07
Reviewed-by: Christian Strømme <christian.stromme@qt.io>