Fix endless loop in log2_int for negative values for input