add GPU_CopyImageFromSurfaceRect
This function is like GPU_CopyImageFromSurface, but enable to copy only part
of the surface to the texture, using an optional pointer to GPU_Rect as
a new argument.
I've also reindent some code
Signed-off-by: matthias <uso.cosmo.ray@gmail.com>