On the accuracy of mass measurement for microlensing black holes as seen by Gaia and OGLE