Fixed code quality issues for the common part of the code generator, and introduced assertions for the quality checker (issues unveiled by a tool).
Fixed code quality issues for the common part of the code generator, and introduced assertions for the quality checker (issues unveiled by a tool).

egeor/libxsmm,hfp/libxsmm,hfp/libxsmm,egeor/libxsmm,egeor/libxsmm,hfp/libxsmm,hfp/libxsmm,hfp/libxsmm,hfp/libxsmm,egeor/libxsmm,egeor/libxsmm,egeor/libxsmm