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. 
Huh?

We cover all possible cases of the `DirectionEnum` so that's a bogus warning from the compiler.