If we are getting a deprecated dequeueBuffer call and return a fence, make sure it's waited for and closed

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #210 from stskeeps/deprecated_and_fenced

If we are getting a deprecated dequeueBuffer call and return a fence, ma...