GdkQuartz: Handle NULL from [NSGraphicsContext currentContext].

By returning a default surface. The situation where there's no
currentContext arises when GtkCSS is trying to determine the
layout sizes so no actual display is necessary.

Closes: #1411
2 jobs for issue1411 in 8 minutes and 6 seconds (queued for 12 minutes and 8 seconds)