[PATCH openEuler-5.10-LTS 6/7] proc: avoid integer type confusion in get_proc_long