[GHC] #14521: Infinite loop at runtime when a given function is not marked INLINE