Use nearest neighbor when reprojecting masks.