http2: include curl_memory.h

Detected by test 1132