Magnetic catalysis in AdS4