Revert "[HLSL] Improve HLSL resource method generation" (#178266)
Reverts llvm/llvm-project#176806
This is causing memsan failures related to the source locations for cast
instructions we are not generating. The failure is not straight forward
to fix, so I will revert this while I work on a fix.