Fix spurious "inexact" exceptions from __kernel_standard_l (bug 18245, bug 18583).