Move the personality function from LandingPadInst to Function