Third-order nonlinearity by the inverse Faraday effect in planar magnetoplasmonic structures