macosx_events: fix modifiers handling with media keys

This was caused by a typo. Regression from add7c2955df.

Fixes #213