parse-options: move unsigned long option parsing out of pack-objects.c