When a C function returns a bool value, only the first byte of a uintptr value matters. When we want to get a bool value from a C function, filter this for sefety.