src: replace IsConstructCalls with lambda
I've added a deprecation notice as the functions are public, but not sure if this is correct or the format of the deprecation notice.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src