Orangefs: listxattr unable to fully enumerate object's extended attributes

a loop counter was moved during code cleanup, was getting reset
at inappropriate times...

Signed-off-by: Mike Marshall <hubcap@omnibond.com>