Move tr_base64_* functions to crypto-utils.h