amd64 cin fix from ioquake3