Catch invalid random seeds for StanModel.sampling

Otherwise, at least on my machine, Stan silently fails and remains
stuck without doing any sampling.