Heavy-quarkonium suppression in p-A collisions from parton energy loss in cold QCD matter