[CORE] vmm_timer: Add vmm_timer_event_pending() API

This patch adds new API vmm_timer_event_pending() to check whether
given timer event is waiting to expire.

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