Remove a bunch of unnecessary header defines; corrected undefined behavior in ror and rol.