fix forgetful non-passing of the C++ layer ConstImageView
(#524)