Add new API mrb_ptr_as_string()

New API. It works like "%p" format in s*printf().
Some s*printf() are replaced to the combination of mrb API.