[PATCH openEuler-5.10 520/582] of: Fix truncation of memory sizes on 32-bit platforms