[IA64] adding parameter check to module_free()