Added check to ensure passed surface data pointer is valid (non-zero/non-null).
Added check to ensure passed surface data pointer is valid (non-zero/non-null).

Breakthrough/pygame-ctypes-tutorial,Breakthrough/pygame-ctypes-tutorial