sobol qmc_sequence MEX: dimension larger than 1111 returns a proper
Matlab error message instead of crashing

(cherry picked from commit 45f7de33e8858f1b629c7d4cd031ed931567815d)