The Glasgow-born actor started out playing easy-going buffoons. Then along came ‘The Thick of It’. He talks to Craig McLean about how the Tories killed political satire, the divisive nature of the culture wars, why he found ‘Doctor Who’ fandom difficult, and what it’s like to be cast as malevolent characters