A second Labour MP has apologised for comments made in a WhatsApp chat, after Andrew Gwynne was sacked as a minister over messages he sent to the same group.