[PATCH 4.20 099/127] perf tools: Add missing open_memstream() prototype for systems lacking it