macos: Add method that denotes secure restorable state
See #6239 (closed).
Add NSApplicationDelegate.applicationSupportsSecureRestorableState:
to silence the warning.
Use the NSApplicationDelegate
interface, instead of manually defining the methods we implement.
Edited by Arjan Molenaar