[PATCH 5.1 062/371] perf jvmti: Address gcc string overflow warning for strncpy()