libmem: use SAFE_STRTOL instead

change to use SAFE_STRTOL instead in libmem.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
1 file changed