Gowers norms for automatic sequences