(potential) alternative fix for loop pagination issue

(potential) alternative fix for loop pagination issue described here: https://github.com/justintadlock/hybrid-core/issues/56

Based on get_pagenum_link() usage/implementation described here:

http://www.kevinleary.net/wordpress-pagination-paginate_links/ 

and in the codex at

http://codex.wordpress.org/Function_Reference/paginate_links#Examples

Worked in my situation for pagination pretty permalink urls that had ?utm=xxx on the end e.g. http://test.com/category/nameofcat/?utm=example which resulted in incorrect pagination links like:
* http://test.com/category/nameofcat/?utm=example/page/2/
* http://test.com/category/nameofcat/?utm=example/page/3/
* http://test.com/category/nameofcat/?utm=example/page/4/

Applying the change resulted in correct urls like:
* http://test.com/category/nameofcat/page/2/?utm=example
* http://test.com/category/nameofcat/page/3/?utm=example
* http://test.com/category/nameofcat/page/4/?utm=example