GRAPHICS: Make Surface::copyFrom work for any src pitch.

Formerly we assumed that the newly created surface has the same pitch as the
source surface. This is a assumption that might be invalid (for example in
case of the Surface returned by OSystem::lockScreen.)