[LIBS] fifo: Use spinlock lite APIs to improve performance

Signed-off-by: Anup Patel <anup@brainfault.org>