[Kernel] [PATCH OpenHarmony-4.19 13/49] pstore: Avoid writing records with zero size