Not really a genocide as such. The people were not being massacred because they were European, they were being massacred because they were slavers. That doesn't even strike me as particularly unjust, particularly for an era where serious crimes resulted in capital punishment. Slavery steals lives too and in a more horrific way than straight up murder.