Implement signbit in terms of copysign.

Currently, copysign is broken for negative zero, so this will be
as well.

Fixes #911.