Changed some sem and shm id checking to use the new constants in the atSem and atShm files.
Changed some sem and shm id checking to use the new constants in the atSem and atShm files.

Had to add the ability to check if a semLock or semUnlock returned with some
sort of interrupt error.

ucfistirl/atlas,ucfistirl/atlas