vm: Add pointer from method to klass

Needed to implement bytecode instructions that operate on the current
class constant pool.

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