openssl: Add heartbeat extension bounds check

Change-Id: I86b9adab4dea2b57fdc8e5f4c78afa27d74b9de3