Fixed issue: UMat::handle(ACCESS_WRITE) if device copy is obsolete

`UMatAllocator::unmap()` do markHostCopyObsolete(false) although `accessFlags` in `UMat::handle()` is `ACCESS_WRITE`.
See added test case for example.
build_examples=OFF