fix: avoid int overflow in rlimit.c
Merge pull request #420 from steenpass/rlimit

fix: avoid int overflow in rlimit.c