rtos: Fix wrong allocation in linux_get_symbol_list_to_lookup