Search for diboson resonances in hadronic final states in 139 fb$^-1$ of $pp$ collisions at $\sqrts = 13$ TeV with the ATLAS detector