Painting Turks as terrorists 'frankly appalling': UK PM