Added workaround for APFloat interface change.

I will eventually add something like this to APFloat in llvm. But for hacking
purposes I am just going to leave the function here for now.
Found another usage of compare_upper which I changed to compiler_lower.