Revert "[lldb] Add template method for getting const or mutable regs from DynamicRegisterInfo (#71402)" This reverts commit 4989c62b as it fails to build with g++.
mentioned in commit ea9d44f5