Implement issue# 10314.

This adds std.traits.signed, since for some reason, we have
std.traits.unsigned but do not have std.traits.signed.