Divide By Two Rather Than Subtracting One In setrlimit Loop

Don't try every single value... divide by two until you hit
something you can use.