Israel won't end Gaza war even if Hamas releases all hostages: National security adviser