[FLINK-1333] Fixed getter/setter recognition for POJOs