fix Lu16To8 assert; fix LuMerge lsb handling and add tv_range parameter