A County Derry farmer has been fined £500 following a pollution incident at a tributary to the River Bann near Castlerock.