refactor: function to check if mailbox is busy

Moved function 'msg_receiver_busy' into vm's module,
and renamed it accordingly. Function is checking if
the mailbox of an endpoint is busy.

Change-Id: If0076151fccb3a8d2f23a451f8c3f1c8bde9e26b
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/inc/hf/vm.h b/inc/hf/vm.h
index c33ee9a..8f207d6 100644
--- a/inc/hf/vm.h
+++ b/inc/hf/vm.h
@@ -268,7 +268,7 @@
 struct wait_entry *vm_get_wait_entry(struct vm *vm, ffa_vm_id_t for_vm);
 ffa_vm_id_t vm_id_for_wait_entry(struct vm *vm, struct wait_entry *entry);
 bool vm_id_is_current_world(ffa_vm_id_t vm_id);
-
+bool vm_is_mailbox_busy(struct vm_locked to);
 bool vm_identity_map(struct vm_locked vm_locked, paddr_t begin, paddr_t end,
 		     uint32_t mode, struct mpool *ppool, ipaddr_t *ipa);
 bool vm_identity_prepare(struct vm_locked vm_locked, paddr_t begin, paddr_t end,