Hooks::displayTabs() missed wfProfileOut()

The hook method displayTabs() had a wfProfileIn() before exiting which
causes profile errors.

Introduced by 907832d7 https://gerrit.wikimedia.org/r/#/c/8005/

Change-Id: I4f33b20cd2e3edb9be331bc3875290118f93363c