Add null checks to PlatformScreenQt

The other ports do the null checks and JSDOMWindowBase is
at least one caller that is passing 0.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed