Desorption of hydrogen from blowing agents used for foaming metals