kernel: improve uapi headers coexistence with musl