coin: adding patches to accommodate new 10.9 compile errors

coin fails to build on 10.9 (see issue #23782)
adding fixes based on initial tickets open upstream and netbsd patches. not betting on an upstream release to fix anytime soon - last release was 4 years back, last commit was 2+ years ago, and outstanding pulls are 1+ years old.