Qualcomm GC quits following £20m patent defeat