[Vulkan] Ensure non-zero divisors in Vulkan API Tests (#100909)
Summary:
This fixes flakiness of div_to_scalar_wrapped
See [here](https://hud.pytorch.org/commit/pytorch/pytorch/b89f74aa35d3573bf98fba40e21a057d9c09c8a8) for flakiness of div_to_scalar_wrapped
Test Plan:
On Devserver:
```
LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run //xplat/caffe2:pt_vulkan_api_test_bin
```
On Mac:
```
buck run --target-platforms ovr_config//platform/macos:arm64-fbsource -c pt.vulkan_full_precision=1 //xplat/caffe2:pt_vulkan_api_test_binAppleMac\#macosx-arm64
```
To test that these changes fixed flakiness of div_to_scalar_wrapped, I ran the test 1000 times on devserver before the changes, and observed failures. Then ran it 1000 times after the changes and didn't observe any failures.
Reviewed By: SS-JIA
Differential Revision: D45670642
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100909
Approved by: https://github.com/SS-JIA