Bug 1638990: [taskgraph] Make taskgraph.action.util.create_task_from_def generate the task id; r=ahal
All the callers generate a fresh task id, so refactor that logic into the
function.
Differential Revision: https://phabricator.services.mozilla.com/D84084