Pakistan bat first in final ODI against SA