Unify the part of BitmapImage::dataChanged that clears incomplete frames and metadata
Created attachment 237814 [details] patch