Philippines military remains loyal to the president, national security adviser says