cpp: bioformats: Add resolve argument to resolveReferences

Update to align the C++ API with Java changes in #1477.

--------

Testing: Not much to test here.  Check build is green and verify the change is sane (it's very simple).