qdev: Fix adding of ptr properties