Move EH-specific helper functions to a more appropriate place No functionality change is intended. llvm-svn: 254562