ENH: Release GIL in cuda-convnet wrapping ops.

Use `CNDA_BEGIN_ALLOW_THREADS` and `CNDA_END_ALLOW_THREADS` so that it respects `nvcc_flags=-DRELEASE_GIL=0` if you really, really want to turn it off for some reason.

Attn: @nouiz, @goodfeli