webnn: Allow passing SharedArrayBuffers to writeTensor()
readTensor() and the other writeTensor() overload both allow shared
buffers and I don't see why this variant of writeTensor() shouldn't
Bug: 365813262
Change-Id: Id0618ec2fc70db0de61d246c8af8fededbd11edd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5976704
Commit-Queue: Austin Sullivan asully@chromium.org
Reviewed-by: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1375674}