Extended axion electrodynamics: Anomalous dynamo-optical response induced by gravitational pp-waves