Connection between the shadow radius and quasinormal modes in rotating spacetimes