Prevent NPE when encountering unknown enum reading Thrift

@julienledem and @rangadi this is a fix that doesn't involve changing Elephant Bird. 
We can either do this or https://github.com/kevinweil/elephant-bird/pull/364