Aberdeen and St Johnstone shared the spoils after a 0-0 draw in their Scottish Premiership clash at Pittodrie.