Prevent an infinite loop in TeX-command-expand.

* tex.el (TeX-view-command-raw): Throw an error when `spec' is
nil, otherwise when the function returns nil `TeX-command-expand'
enters an infinite loop.