[hkl] add hkl_geometry_[sample/detector]_rotation_get