Function left_justify fixed for x86/BID.

Added a check to left_justify function in order to catch when the
number justified would become a NaN number, like is done for PPC
with hardware instructions.

This patch also fixes get_digits[32|64|128] to handle NaN numbers.