libc - Initialise ret before use
kernel/acpica: Separate kernel and userland code in headers better.

Clean up a bit, use standard types, etc.
libc/db - Fix a resource leak

- Detected by cppcheck
libc/regex - Fix a memory leak

- Detected by cppcheck
svc - Fix a couple memory leaks

- Detected by cppcheck
savecore - Fix a resource leak

- Detected by cppcheck