The imagemagick use flag 'djvu' enables reading of djvu files with imagemagick utilities but the viewer 'display' gives an error with djvu files. I found it works as soon as app-text/djvu is emerged with the 'threads' flag.
Fixed in cvs, thanks for the report.