r2.15 cherry-pick: dc805474308 "Override boringssl static linking by explicitly importing openssl"
Refer to the original commit: https://github.com/tensorflow/tensorflow/commit/dc805474308d1c5563844c6442ca195e251d17f6