[PATCH 4.19 125/219] perf jevents: Fix resource leak in process_mapfile() and main()