Single-bubble sonoluminescence: shape stability analysis of collapse dynamics in a semianalytical approach