[w32handle] Only own first handle if doing WaitHandle.WaitAny (#5625)