sh: Fix overflow checking on 'ulimit' operand.