Safely xdecref numpy array in all cases in RisWidget::loadImage().