datapath: Return correct error code when dumping flow actions.