RFC: dynamically add hooks from libc

I'd like to see it tested on other ARM devices. I only tested it on my panda.
If it goes ok, i can tweak the strdup() to avoid eating up memory.



The hook table should contain the pthread functions
that are safe to call without wrapping, or
the wrapped functions.
This means there's no need for:
    {"libc_function_name", libc_function_name},

It also makes it easier to split hooks.c into separate files.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>