The Joint Moment Generating Function of Quadratic Forms in Multivariate Autoregressive Series