Do not allow the estimation of a parameter that appears in “planner_discount”

Ref. dynare#1173
parent 12296b62
Pipeline #3090 passed with stages
in 2 minutes and 30 seconds