Fix #2213: Change ImageList#montage to re-link the images before handling any errors that were returned from MontageImages.
Fix #2213: Change ImageList#montage to re-link the images before handling any errors that were returned from MontageImages.

prognostikos/rmagick,chand3040/Rmagic,carsonreinke/rmagick,antonifs/rmagick,jonmartindell/rmagick,rmagick/rmagick,pecha7x/rmagick,carsonreinke/rmagick,rmagick-temp/rmagick,tvon/rmagick,mockdeep/rmagick,chand3040/Rmagic,rmagick-temp/rmagick,rmagick-temp/rmagick,btakita/rmagick,tvon/rmagick,modulexcite/rmagick,jonmartindell/rmagick,mockdeep/rmagick,antonifs/rmagick,btakita/rmagick,btakita/rmagick,chand3040/Rmagic,carsonreinke/rmagick,mockdeep/rmagick,pecha7x/rmagick,mockdeep/rmagick,modulexcite/rmagick,prognostikos/rmagick,tvon/rmagick,apecherin/rmagick,apecherin/rmagick,prognostikos/rmagick,rmagick/rmagick,rmagick/rmagick,antonifs/rmagick,jonmartindell/rmagick