Wick rotation and fermion doubling in noncommutative geometry