Fixes #1107: NPE in task macro accessing q"{...}".symbol.pos

Instead, we just take the position of the tree itself.