DEV: Pass currentUser to post-menu button builders (PR #9752)

Adding this from a review; I was using Discourse.currentUser which is frowned upon now.

Passing currentUser both for regular post menu buttons and extra buttons attached via the plugin API.

GitHub