MB-12593 Preserve custom cmp functions for not existing KV stores

- fdb_open_custom_cmp preserves all passed custom compare functions
in the fdb_file_handle so that if new KV store is created later,
corresponding custom compare function is automatically assigned even
though no custom function is given in kvs_config.