Add some logging that would have been helpful investigating bug 1117449.
[BZ 1117449] Add logging to NativeSystemInfo to detect why Java platform was selected

Cherry-Pick master 2a09fd40f5d0b25c5d1c3ba37c553095dc366e60