cocoa: ignore first file open events from command line

similar to some of the code deleted in 685b8b7a but simpler