fix PR8867: a crash handling fp128. Thanks to Nick for the testcase.