math: add nextafter*, nextoward* and scalb to gen