Bosonic Pfaffian state in the Hofstadter-Bose-Hubbard model