cdef: Add a CDEF_ prefix to the HAVE_LEFT etc enum values
This reduces potential ambiguity across the codebase, as the enum is CDEF specific, and there is another similar enum for loop restoration.
Alternatively an independent enum could be used for both CDEF and loop restoration.