MT#5465 preferences_enum stop using default_val

The real default enum option is the one with value set to NULL

(cherry picked from commit 11841b2bbae79b8722d77d3f295c926fc380ec7c)