Fixing segfault in wr_coremap utilities

Function get_and_free_lcores was ignoring the pointer value being returned by
its recursive invocation.

Signed-off-by: Allain Legacy <allain.legacy@windriver.com>