[Kernel] [PATCH OpenHarmony-4.19 30/49] pstore/ram: Refactor DT size parsing