Decoding Quadratic Residue Codes Based on Bivariate Weak-Locator Polynomials