Salman Rushdie was greeted with a standing ovation as he walked up to accept the Pen Centenary Courage award.