Actually correctly zero-pad serial numbers with the sign bit set.

Our Lady of Misplaced Pad Bytes was not kind to me yesterday.

This also allows manually input serial numbers to be 64-bit values.

Signed-off-by: Peter Jones <pjones@redhat.com>