rtems: Account for file system semaphores.
Add support to account for the semaphores used by the file systems.