meson: Fix warnings when reading back and checking feature flags
Meson does not like comparing things of different types which is a problem when reading back values of feature flags as they may contain either false (bool) or 1 (string).
Since there is a strong reason why we use false when the feature does not exist, we work around this issue by always converting the returned value to int via to_int().
Fixes: #1190 (closed)