[ubsan] handle long double in 32-bit mode; part of the patch by Marek Polacek