Removed stdio functions from libc_cheri, fixed wrong functions being called from jnienv.c