Adding necessary LOCAL variables in order for the perl script that HIP utils uses to run successfully without error. (#8464)

diff --git a/.jenkins/pytorch/build.sh b/.jenkins/pytorch/build.sh
index 4d0d34d..bbe217e 100755
--- a/.jenkins/pytorch/build.sh
+++ b/.jenkins/pytorch/build.sh
@@ -25,6 +25,8 @@
 
 if [[ "$BUILD_ENVIRONMENT" == *rocm* ]]; then
   export HCC_AMDGPU_TARGET=gfx900
+  export LANG=C.UTF-8
+  export LC_ALL=C.UTF-8
 
   # TODO: Install pyHIPIFY in the docker image
   rm -rf pyHIPIFY || true