More writers and producers are cutting branding deals before the movie is cast or the script is fully shaped.