[PATCH 2/4] drm/nouveau/overlay: improve error detection, fix pitch setting