kernel: Add some more missing crit_exit(), rel_mplock(), etc.
kernel: fix an invalid self assignment in linker

found-with: clang
ips: initialize local variables

found-with: clang