French MPs have voted to amend controversial health law proposals, to allow alcohol advertising online on all websites except those aimed at young people.