France fails to rule out sending troops to Iraq, Libya