Fixed bugs in ldimm and cvtld.
the ldimm bug was due to using zero extension when it should
have been done with sign extension.
The cvtld bug was due to casting the input as an unsigned 64 bit int to
a double instead of first turning it into an unsigned 64 bit in and then
casting to a double.