Fix breaking API change in Theano 0.6

Theano 0.6 moved subtensor operations from `tensor.basic.*` to `tensor.*`.