lavu/libm: add copysign hack