Avoid having to include cdef.h from onyxc_int.h

Avoids having to forward declare AV1_COMMON which was causing problems.

Change-Id: Iab90e6b5683a737feeec0574e31cf4bd3e02a776
diff --git a/av1/common/cdef.h b/av1/common/cdef.h
index e1944cf..1131b27 100644
--- a/av1/common/cdef.h
+++ b/av1/common/cdef.h
@@ -11,7 +11,6 @@
 #ifndef AV1_COMMON_DERING_H_
 #define AV1_COMMON_DERING_H_
 
-#define CDEF_MAX_STRENGTHS 16
 #define CDEF_STRENGTH_BITS 7
 
 #define DERING_STRENGTHS 21
diff --git a/av1/common/onyxc_int.h b/av1/common/onyxc_int.h
index 64f9a6e..7caeb1c 100644
--- a/av1/common/onyxc_int.h
+++ b/av1/common/onyxc_int.h
@@ -35,15 +35,12 @@
 #if CONFIG_PVQ
 #include "av1/common/pvq.h"
 #endif
-#if CONFIG_CDEF
-struct AV1Common;
-typedef struct AV1Common AV1_COMMON;
-#include "av1/common/cdef.h"
-#endif
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+#define CDEF_MAX_STRENGTHS 16
+
 #define REF_FRAMES_LOG2 3
 #define REF_FRAMES (1 << REF_FRAMES_LOG2)