sysroot: Fix pointer-type and cast

2 jobs for wip/ricotz/fixes in 43 seconds (queued for 5 seconds)