user32: Only try to remove the MDI document icon from the frame menu when needed.