Remove unused imports + fix compile error
For pipeline.rs remove unused imports
ReadyState, RenderState and fix compile error in compositor.rs