BUG: special/specfun: fix argument value check in KLVNZO

documentation of KLVNZO(NT,KD,ZO) in scipy/special/specfun.f
says 1<=KD<=8. Previous code resulted in always True.

Issues 2718