Change LegalFPImmediates to use APFloat.