Study of top quark dipole interactions in $t\bar{t}$ production associated with two heavy gauge bosons at the LHC