imfilter_gaussian: don't expand sigma for gray images (fix #197)