Matching at one loop for the four-quark operators in NRQCD