3 hurt in machete attack in Gastonia, police say