Credit Suisse has replaced its chief legal officer as the major bank continues to reel from several years of difficulties.