Fix compilation after recent LLVM APFloat change. Based on a patch by chapuni64.