Replace tablet_get_(enabled|disabled)_buttons macros with inline functions