Position::gives_check - use ci.ksq

Also remove a couple of local variables while
there.

No functional change.