Stability analysis of active acoustic metamaterial with programmable bulk modulus