get_int_lsb_first: fix undefined behavior in little endian decoding
When this function was called with a byte length of 4 (something that happens
often in this file), the last iteration of this loop would shift an int left by
24. On a platform with 32-bit ints (most platforms Graphviz runs on) this shifts
_into_ the sign bit, something that is undefined behavior with respect to the C
standard.
The changes in this commit make the shift well defined and remove a
-Wsign-conversion warning.