Andrew Flintoff's former England fast-bowling colleague James Anderson says it is a "smart move" for Lancashire to offer him a chance of a comeback.