core: remove obsolete/unneeded check of headers and functions in cmake and configure