Samsung Electronics announced a plan to reduce its memory chip output after reporting its lowest quarterly profit in 14 years.