MAINT: Fix some cython variable declarations to avoid warnings with cython 0.20.

Cython 0.20 is picky about declarations that mix pointer and non-pointer variables.  This PR moves each pointer's `cdef` to its own line.