kwset: improve performance by inlining tr

Without this change, older versions of GCC won't inline 'tr', and this
can hurt performance significantly.  See: http://bugs.gnu.org/17229#64
* src/kwset.c (tr): Make it inline.