Fix invoking a javascript function contained in an emscripten::val when compiled with closure.

Closure translates argPackAdvance to a small variable name, but does not translate 'argPackAdvance'.
Merge pull request #2974 from pvandertak/embind_closure_fix

Fix invoking a javascript function contained in an emscripten::val when compiled with closure.