Fix _drawmenu_setting_edit_generic compile error

Add a const specifier to _drawmenu_setting_edit_generic data argument