[PATCH 4.19 020/243] perf/core: Consistently fail fork on allocation failures