Compatibility: Fix install-check error due to logregr missing

Due to the change in logistic regression API change, logregr is
not available any more to test create_temporary_table_as(). This
commit changes that to use linregr as an aggregate to return the
tuples that can be used in compatibility tests.