Fix removing menu dividers

Mac: need to set os item for dividers.

This is for https://github.com/adobe/brackets/issues/6300. This pull request requires https://github.com/adobe/brackets/pull/6333.