Foreign minister expresses hope that incident won't 'undermine diplomatic relations' between two countries after crowd plants Palestinian flag on top of building in compound