Automatic Tuning of an MPCC-based Motion Planner