[LIBS] Add list_is_first() to list APIs

Its quite common to check whether given list node is first or last.

We already have list_is_last() API but we don't have list_is_first().

This patch adds list_is_first() to list APIs.

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