Update d2i_SSL_SESSION test expectations

Update d2i_SSL_SESSION to only throw IOException and change tests to
expect that to happen. Since IOException is declared as a thrown
exception, non-test code should already be expecting this.

(cherry picked from commit c12c046e706de374276e3f9785cb4afc2e3a02fa)

Bug: 27526112
Change-Id: Ic8c1a47debce9cb76221150d050be86d010c6ec3
2 files changed