HTC willing to settle with Apple after patent dispute