Studio executives didn't love The Departed's ending — not because of all the deaths, but because Martin Scorsese didn't leave the door open for a franchise.