check for palette presence, fix crash with QT-BMP.mov, issue #1074