[GHC] #12378: Not enough inlining happens with single-method type classes