Relativistic and nonrelativistic annihilation of dark matter: a sanity check using an effective field theory approach