fixup camel case names UnitPtr, UnitConstPtr

This commit created using sed, in directory src/:

$ find . -type f -exec sed -i 's/UnitPtr/unit_ptr/g' {} +
$ find . -type f -exec sed -i 's/UnitConstPtr/unit_const_ptr/g' {} +

and inspecting the results.