vm: Fix class field lookups

Instance fields are also looked up from the field list.

Signed-off-by: Pekka Enberg <penberg@iki.fi>