shell32: Avoid casts when creating item menu.