constify character property tables

* enc/jis/props.kwd: constify character property tables of JIS
  based encodings by perfect hash.
* enc/euc_jp.c, enc/shift_jis.c: use character property functions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-05-22

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e