tests/lib/heap: Add test for sys_heap_realloc()

Simple unit test for the realloc functionality, covering all state
transitions.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
1 file changed