Qt5: don't create superfluous Nitpicker buffer

When Qt creates a Nitpicker session for determining the screen resolution,
it is not necessary to create a Nitpicker buffer.

Fixes #1166.