surfaceflinger: fix buggy screenshots when OpenGL 1.1 isn't available

sometimes screenshots in recent apps menu are corrupted

Change-Id: Ie4962caab1862d0736af30aa0e56ed881fb79e47