FindIPOPT: Port YCM changes
FindIPOPT: Port YCM changes

Port changes from https://github.com/robotology/ycm/pull/365
robotology/idyntree,robotology/idyntree,robotology/idyntree,robotology/idyntree,robotology/idyntree