Update QueryBuilder.php

This alternative solution LIMIT, OFFSET problem SQL Server version older that 2012