Roderic O’Gorman has defended the Green Party’s housing spokesman after he objected to more than 300 homes planned for a site next to his home.