Update openssl to 1.0.1i

Cherry-picked the relevant files from fbc2678844.

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Merge pull request #242 from t-b/cherry-pick-new-msys-openssl

Update openssl to 1.0.1i (cherry pick to master)