Fix the check of BIO_set_write_buffer_size and BIO_set_read_buffer_size