Djokovic survives injury scare in easy win over Viñolas