macosx: fix purging of resume media data, avoid memleak
macosx: cosmetics
Revert "src/input: add a new input option flag to replace values of existing options"

This code was superseded by another approach and is not used anymore.

This reverts commit ba82f10c7108719e85413ee518e53249a549db85.