libnoc: Expose function noc_done() in the API.
libmp: Wait for previous ack transfer to finish before updating recv_count.
libcorethread: Use variable instead of calling get_cpuid() every time.