Fully check for valid hex when demangling.

Fixes functions like _2D__5B_func_20_is_2x_5D_

2x is not a hex string