[GHC] #14827: Recognize when inlining would create a join point