Fixed bug in ext_addScalarToVectorInPlace for lengths % 5 != 0.