fix order of operations regression in referenceTargetUnreachable

We need to dereference the GcJreference** before we change what it
points to.  The code was mistakenly reordered in the recent type
refactoring.
Merge pull request #300 from dicej/order-of-operations

fix order of operations regression in referenceTargetUnreachable