BIO_debug_callback: Fix output on 64-bit machines

BIO_debug_callback() no longer assumes that the hexadecimal representation of a pointer fits in 8 characters, which isn't a valid assumption on 64-bit machines.  Also, it no longer makes a cast from (BIO *) to (unsigned long), which is a dodgy cast to make on LLP64 systems like 64-bit Windows.