The coincidence of two exhibitions in major London institutions, one at the National Portrait Gallery, devoted wholly to Giacometti’s work as a portraitist, the other a retrospective devoted to the career of Frank Auerbach, with a high proportion of portraits, on view at Tate Britain, prompts some reflections on the role of portraiture in modern and contemporary art