Leeds edge Gloucester for first win