gluegen: relax private variable access to package-private for members accessed from inner class

Otherwise the compiler has to fill in a wrapping access function for the inner
class to call, which is less efficient.