prop/core: We must use prop_ref_dec_locked() when prop_mutex is held

Fixes #1797