fixed build with yast2-devtools >= 3.0.3

`@YAST2-CHECKS-YCP@` macro which defines the `HAS_YCP_MODULES` conditional has been removed in the previous commit.

Adding it back would result in re-adding `yast2-core` build dependency. To avoid this the conditional is explicitly defined here.