[Vulkan] Patch Linear op to support higher dimensional input. (#81773)
Summary: Previously, the Vulkan Linear op only supported 2d input. This diffs adds support for higher dimensional input.
Test Plan:
Added test cases to `/xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp`
On Mac:
```
buck run //xplat/caffe2:pt_vulkan_api_test_binAppleMac
```
On Android:
```
buck build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 //xplat/caffe2:pt_vulkan_api_test_binAndroid\#android-arm64 --show-output
adb push buck-out/gen/xplat/caffe2/pt_vulkan_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_api_test
adb shell "/data/local/tmp/vulkan_api_test"
```
Differential Revision: D37938388
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81773
Approved by: https://github.com/SS-JIA