On ARM, qreal is a float. Fix some cases where we pass a double* instead of qreal*.