Fix --shared flag of create script (broke in recent gradle changes)

(cherry picked from commit 30681eb77222f9cd5e279b069a9601f25f465ccb)

BUG=XWALK-2794