Fix trigger reports using the wrong pair's status
onTrigger() loops over the reported pairs but tests pairs->status, that
is pairs[0].status, rather than pairs[i].status. Whenever PhysX reports
more than one trigger pair in a single callback, every pair is treated
as having the first one's status.
The visible effect is entering one trigger in the same step as leaving
another: the enter is processed as a leave, so bodyEntered never fires
and the body is never registered as being inside.
Add tests/auto/trigger_pairs.
Pick-to: 6.12 6.11 6.8
Change-Id: Ie89c8e28a63b4c92403a9c4ed21bd9f4021ab474
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>