fix 'NSWindow' may not respond to '+windowNumbersWithOptions'

conditionally reverts 1b89f986f0e7e6303c4e44cb1ca5d42a5c78c8d4

Change-Id: I13aa24286dab52c9e4af798c8b6d9bf407bb7069
Reviewed-on: https://gerrit.libreoffice.org/9760
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>