Fixes crash when trying to load EXR files with other channels
then RGB(A). Fixes bug #9697