add missing import

I'm not diving too deep into why this was missing.  Presumably test coverage here is poor.

Line 12 of `theano/tensor/type_other.py`

    x = theano.tensor.as_tensor_variable(x, ndim=0) 

Yet `theano` has not been directly imported.