fix two new sign comparison warnings

these seem to be only present for older compilers like clang 3.3...
adapt to the latest ERT API changes

to be done: writing the well locations. (which seems to have motivated
these API changes in the first place.)