[PATCH openEuler-5.10 16/23] tmpfs: fix undefined-behaviour in shmem_reconfigure()