You need to remove the imagemagick file in /usr/local/etc
so that brew can write a new one there.
The old file was placed there by something else than brew. Possibly another package manager.
UPDATE 2015.03.07: as Chords indicated in a comment above it may be necessary to remove the folder entirely. (Although setting the correct permissions and groups may be an equivalent measure.)