Lewis Hamilton felt there was nothing he could do to avoid hitting Pierre Gasly in the first lap of the Sprint.