update depreciated functions

Deprecated in 1.8: isadminloggedin() is deprecated by
elgg_is_admin_logged_in()