Create hash method for QgsPoint (Fix #8775)