Fix for GPU demosaicing test

Added additional assertion that input image is not empty.