#if __MAC_OS_X_VERSION_MAX_ALLOWED > 1050 around id<NSWindowDelegate> and id<NSTextFieldDelegate>

Revert "replace a couple of #if __MAC_OS_X_VERSION_MAX_ALLOWED > 1060 with #if __clang__"
This reverts commit 9ca546cba74666ca988b99fc06c19cb4d668c04c.