Add semaphore functions to finsig_dryos.c (from srsa_4c).http://chdk.setepontos.com/index.php?topic=6560.msg101887#msg101887