This fixes issue where API use is able to register writable preset even if the CONFIG_BT_HAS_PRESET_NAME_DYNAMIC Kconfig option was disabled. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>