hcitool: Fix memory leak in cmd_info

Free memory pointed by cr variable after it is used.
hcidump: Fix memory leak

Memory pointed by frm.data variable was not freed in both failure and
success flows.
cltest: Fix memory leak
amptest: Fix memory leak