Don't override the NumPy error message.

Otherwise, we don't know if the problem is missing memory or not.
Assert that curand output dtype is float32.