math: move complex math out of libm.h