[COOK-4301] Fix duplicating truststore parameters in java_options