6914050: jvm assertion "guard pages must be in use" in -Xcomp mode

Move creating stack guard pages in jni attach thread before potential java call rather than after. Also cleanup stack guard pages when jni attach fails

Reviewed-by: never, dholmes
2 files changed