Ryan Gosling has insisted it is Hollywood's "job" to keep cinemas afloat by making films that people want to go out and see.