fixed elif/elseif issue that excluded HAVE_COCOA on OSX
Hard-coding to make qtkit appear again
Introduced HAVE_QTKIT to allow using QTKit

cherry-picking 06a8a032a39a581368e116d78cf26e87e933e0a9 quicktime and clang
added HAVE_QTKIT define