Add ODBCResult::GetColumnNamesSync

This is so that we can retrieve the column names in case we are
fetching in a array mode.