java: constant pool tags

Add cp_tag enum class to identify constant pool entry types.

Signed-off-by: Pekka Enberg <penberg@kernel.org>