qca_debug: Prevent crash on TX ring changes