Automatic computations at next-to-leading order in QCD for top-quark flavor-changing neutral processes