core: rename lock to spinlock

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: rename ticket_lock to ticket_spinlock

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: use ticket spinlock in ring

Link: https://github.com/GeneAssembly/biosal/issues/751
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: implement ticket spinlock with atomic operations

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: put ticket spinlock inline

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>