Anton Buchmayer (1770–1852), Katholische Theologie