remove references to ctx->img from mc_luma/mc_chroma