Speed up the FP8 CPU fake-cast with frexp/ldexp (#7677)