[PATCH 6.3 075/431] pstore/ram: Add check for kstrdup