add type check in CP2K easyblock

@wpoely86: please review