Define pthread_atfork to fix bionic build

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>