Maggie Gyllenhaal says she knew she wanted to make her first movie after playing a porn director on HBO's 'The Deuce'