[PATCH openEuler-5.10-LTS 14/21] tmpfs: fix undefined-behaviour in shmem_reconfigure()