[PATCH 4.19 069/149] perf annotate: Return appropriate error code for allocation failures