Don’t use positional arguments with *MenuItem inits.

Avoid DepreciationWarning for ImageMenuItem, CheckMenuItemi, and MenuItem.

Fix #7858