ci: set build type to debug with sanitizers (cherry picked from commit 9da1743b41a6a1378f52e4127e162dcb44de87d7)