Reconfigurable reservoir computing in a magnetic metamaterial