[fix bug 944798] Converted all <legend> to <h2> in profile edit section

Fixes the issue of text overlapping over the privacy control.