bashrc: add hex2string function

I need this often enough that it's worth adding.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>