Briton arrested in Somalia survives 'jihadist' knife attack in prison