Mars has pulled a Snickers television commercial in the UK after receiving a complaint from a gay rights group.