Energy straggling induced errors in heavy-ion PIXE analysis