Safer and more consistent Texture.lock funtion

SDL_LockTexture returns the pitch of the locked texture, so rust-sdl2 should so.