Director recalls how Rogen’s controversial comedy ‘The Interview’ and the Sony hack disrupted plans for the historical epic