remove duplicate keyword emit code

keywords are emitted with precomputed hash values except when using
:emit-constants which had its own keyword emit function.

moved duplicate code into emits-keyword