[m152][ganesh] Prevent silent updateData failure

* Under high memory pressure scenarios, most notably flushCpuData(),
  updateData() can fail silently, enabling an attacker to potentially
  draw stale data from a buffer.

* Pipes out the result from updateData() in several places, dropping
  the draw if a failure occurs.

Bug: 553130676
Fixed: 557517818
Change-Id: Id281f53d9f6e4d79d0737fa7b54a102e59ab5f00
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1339637
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Thomas Smith <thomsmit@google.com>
(cherry picked from commit 13ed848ed4a0a8d8dd606318ce44f6c904a23e1f)
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1363276
9 files changed