Fixes "ClassCastException" when casting CtCastImpl to CtBlock

Now there is a common interface between both classes: CtStatmentList.