[Mac] Use becomeFirstResponder to focus the NSTextField

Although Apple docs list it as deprecated, becomeFirstResponder
works in cases where [NSWindow makeFirstResponder:] does not.