Check for sincos() availability properly.

Érico Rolim requested to merge ericonr/filelight:sincos into master

Instead of hardcoding knowledege about glibc versions, check for the presence of sincos with CMake.

Commit 93577e2a wrongly added a SINCOS_H_IMPLEMENTATION macro instead of making it a static inline function or similar, so remove that as well.

Merge request reports