[platform] fixes permissions of JRE binaries copied for update (IDEA-161223)