[CMAKE] Update baseaddress.cmake for the GCC build. CORE-11382