[LibOS] Don't use uninitialized return value in walk_mounts()
ret is declared without initialization. It depends on (ret = (*walk) (mount, arg) for the initial assignment;
however, the list might be NULL and the assignment can not be performed leaving ret in un-initialized state.
Thus ret should be properly initialized in this case.
Signed-off-by: Gary <gang1.wang@intel.com>