Add APPLE implementation for isfinite.