Remove less informative error.

The python error is already set by device_malloc and it contain more information.