An inequality of type Poincaré in Musielak spaces and application to some non-linear elliptic problems with data