Nonlinear impedance of a microwave-driven Josephson junction with noise