Fix incorrect assertions in ddt_phys_decref and ddt_sync_entry