[ROCm] Fix for the broken `--config=rocm` build.
[ROCm] Fix for the broken `--config=rocm` build.

The --config=rocm build was broken by the following commit.

https://github.com/tensorflow/tensorflow/commit/084e14e7032f08810ee73b4bdc9b590cdcc0ef92

The changes made by the above commit did not contain the corresponding changes for the ROCm platform, which was leading to the build failure. Making the corresponding update for ROCm, to make the --config=rocm build working again.

frreiss/tensorflow-fred,davidzchen/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,annarev/tensorflow,gunan/tensorflow,DavidNorman/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,alsrgv/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,alsrgv/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,sarvex/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,annarev/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,aldian/tensorflow,arborh/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,renyi533/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,gunan/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,arborh/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,karllessard/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,aldian/tensorflow,chemelnucfin/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,aldian/tensorflow,annarev/tensorflow,yongtang/tensorflow,petewarden/tensorflow,renyi533/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,petewarden/tensorflow,karllessard/tensorflow,xzturn/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alsrgv/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,cxxgtxy/tensorflow,jhseu/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,chemelnucfin/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,yongtang/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,aldian/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,aldian/tensorflow,annarev/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,sarvex/tensorflow,annarev/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,arborh/tensorflow,jhseu/tensorflow,gunan/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,jhseu/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,arborh/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,ghchinoy/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,arborh/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,gunan/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,chemelnucfin/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,arborh/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,arborh/tensorflow,karllessard/tensorflow,sarvex/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once