move both semaphores and nano_work objects to unified kernel APIs. Change-Id: Icca8a091063544c451e47201cd8e956b95010513 Signed-off-by: Anas Nashif <anas.nashif@intel.com>