Detect and handle incomplete-type allocs properly.