pios_hmc5983: fixed resource leak on allocation