Add region overlap testing in enqueueCopyBufferRect
Change the order of exceptions thrown in case of an invalid eventWaitList