Fix allocated output size for padded base64
warnobj: print "(null)" for null refs