Improve readability of the parse function for the OBJ importer. Currently the behavior for parsing input data is nested with reading and buffering the input stream in the same function. Separating the problems into two separate functions makes the code easier to read and understand. This avoids having 100+ lines of parsing logic entwined with logic for reading/buffering the file. No functional changes. Pull Request: https://projects.blender.org/blender/blender/pulls/140388