black oil model: fix compiler signedness comparison warning