LOS ANGELES — Cramps, those annoying contractions of muscles, particularly in the legs, may not be lethal, but they can be extremely painful. Surprisingly, there are no really good treatments for them, according to new guidelines issued Tuesday by the American Academy of Neurology in the journal Neurology. But one treatment that should be avoided, except as a last resort when nothing else works, is quinine, according to the guidelines developed by Dr. Hans D. Katzberg of the Stanford University School of Medicine and his colleagues.