Replace uses of bare assert
with OPENSIM_ASSERT
#3548
Merged
assert
with OPENSIM_ASSERT
#3548