Cloaking a vertical cylinder via homogenization in the mild-slope equation