Gordon Brown has weighed into the row over Jonathan Ross and Russell Brand's "offensive" prank calls.