Removed some unnecessary CMake checks for the size of numeric types.

Also removed some variables which can be replaced with ```sizeof()``` from ```config.h```.