[PATCH 4.18 08/44] pstore/ram: Fix failure-path memory leak in ramoops_init