refs: rename each_ref_fn_oid to each_ref_fn.

There are no longer any users of the each_ref_fn name which used unsigned
char *, so rename the struct object_id * version to each_ref_fn.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>