Labour MP Jared O'Mara apologises for offensive comments