A north Antrim man has admitted stabbing two brothers with the intention of causing them grievous bodily harm (GBH).