Corrected portmanteau tests for VAR models with time-varying variance