Bosonic Pfaffian in the Hofstadter-Hubbard model