[sdb] Avoid asserting when a cattr cannot be loaded. Fixes #21653.