When "Developer Extras" is disabled, the experemental options must not be used. Some checks for experemental options weren't using the macro which checks both are set. Add comment to avoid this happening in the future.
BKE_image.h
enum
enum class