Barcelona attacks cell planned to use gas - judicial source