A Russell Brand joke has been edited out of an episode of Gavin & Stacey after the disgraced comedian was convicted for rape and sexual assault offences.