Remove warnings.

This PR removes to simple warnings when compiling opm-core. One is an unused typedef and the other one is a missing default in a switch case statement.