core/scale: fix check for checking formats subsampling differences