Fixed bytevector->sinteger to handle signness properly.