score: Use unsigned long for atomic integers

Use unsigned long instead of uint_fast32_t since C11 provides only a
ATOMIC_LONG_LOCK_FREE macro constant.  This makes it also possible to
use properly typed integer literals like 123UL.  It is now clear which
compatible type should be used for the atomic integer.
score: Use void * for some atomic pointer ops
smptests/smpatomic08: Add initialization test case
nios2: Include proper header file
bsps/arm: Fix ARM CP15 opcode for get functions
IMFS: Resource leak

Free fs_info in case root_node is NULL.
shell: Out-of-bounds access

In case the length of cwd path plus the userScriptName exceeds
PATH_MAX (255), the strncat calls will overflow scriptFile. Also
check for getcwd failure.
dosfs: Unintentional integer overflow

Explicitly promote 32-bit integer to 64-bits for multiplication.
dosfs: Unsigned compared against 0

Fix the type of "cmpltd" to be ssize_t so that assigning it to -1
will terminate processing as intended.
dosfs: Unsigned compared against 0

Change the type for storing the return from iconv to be signed.
bdpart: Argument cannot be negative

If open(fd) fails then avoid the error path that calls close(fd).
nfs: Fix ln option processing.

If opts is NULL, then strchr() will dereference it and search for 's'.

1063863 Dereference after null check
dosfs: Eliminate empty case statements that fall through to default.

Also eliminates possibly dead code in case the name_type can never
actually be MSDOS_NAME_INVALID.

1063860 Logically dead code.
untar: check return value from mkdir

Check the return value from mkdir instead of failing silently.

1063857 Unchecked return value from library
imfs: check return value from mkdir
sparse-disk: check return value from semaphore_obtain/release

In case obtain/release is unsuccessful, cause a fatal error.
nvdisk: swap arguments to checksum helper

The arguments to rtems_nvdisk_calc_crc16() are reversed when called from
rtems_nvdisk_page_checksum().

26053 Operands don't affect result
flashdisk:  swap arguments to checksum helper

The arguments to rtems_fdisk_calc_crc16() are reversed when called from
rtems_fdisk_page_checksum().

26052 Operands don't affect result
termios: check return value from semaphore obtain/release

Raise a fatal error in case of failure.
imfs: use safe string functions

Replace strcpy and strcat with counted variants.