Fix for #7927 : Add a warning message if trying to print a composer

as an image fails (Qt's QImage sanity check for memory overflow)