Thumbnail Cache - check canceled status on the right thread. am: 19797b419b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12029198

Change-Id: Icad59a9d583131d57cc69dbe7c72ebb0364649c9