[vulkan] replication_pad2d.glsl: use clamp() instead of min(max()) (#79291)
Summary:
clamp — constrain a value to lie between two further values
use `clamp` instead of `min(max())` to calculate the coordinate.
Test Plan:
```
buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac
[ RUN ] VulkanAPITest.replication_pad2d
[ OK ] VulkanAPITest.replication_pad2d (161 ms)
```
Differential Revision: D37063026
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79291
Approved by: https://github.com/SS-JIA