bio: add a malloc failed error to BIO_print