cmake: only search for bebug libs if needed

* some distributions don't have libtbb_debug
* only look for debug libs if CMAKE_BUILD_TYPE = Debug