From French pistache. The sense of "peanut" is also found in Louisiana French and Louisiana Creole French.
pistach