fix incorrect long double parameters on arm (and other future ports)