Fix failing export tests for JVM backend

I'm not sure whether the tests are bogus or not, but an exported sub in the
EXPORT::ALL namespace has a different .WHICH from the original on the JVM.
The exports themselves appear to be working as expected, from cursory testing.