BUG: interpolate: ensure fitpack work arrays are aligned to double boundaries
BUG: interpolate: ensure fitpack work arrays are aligned to double boundaries

gfortran on some optimization levels (-O3) assumes that double-precision
arrays are aligned in memory on sizeof(double) boundaries.

The fitpack_surfit routine failed to properly ensure this, which results
to crashes in some cases.

Fixes gh-1310

ilayn/scipy,chatcannon/scipy,perimosocordiae/scipy,apbard/scipy,mgaitan/scipy,ndchorley/scipy,maniteja123/scipy,dominicelse/scipy,aman-iitj/scipy,dominicelse/scipy,apbard/scipy,ogrisel/scipy,mgaitan/scipy,jseabold/scipy,jakevdp/scipy,pschella/scipy,aarchiba/scipy,vigna/scipy,vanpact/scipy,ChanderG/scipy,jjhelmus/scipy,anielsen001/scipy,behzadnouri/scipy,zxsted/scipy,Srisai85/scipy,aman-iitj/scipy,haudren/scipy,jonycgn/scipy,mikebenfield/scipy,petebachant/scipy,jakevdp/scipy,perimosocordiae/scipy,jamestwebber/scipy,woodscn/scipy,nvoron23/scipy,mgaitan/scipy,witcxc/scipy,person142/scipy,pnedunuri/scipy,bkendzior/scipy,surhudm/scipy,rgommers/scipy,maciejkula/scipy,matthew-brett/scipy,zerothi/scipy,vanpact/scipy,matthew-brett/scipy,vberaudi/scipy,njwilson23/scipy,larsmans/scipy,trankmichael/scipy,njwilson23/scipy,ales-erjavec/scipy,josephcslater/scipy,perimosocordiae/scipy,ales-erjavec/scipy,ilayn/scipy,mingwpy/scipy,gfyoung/scipy,gfyoung/scipy,fredrikw/scipy,e-q/scipy,pnedunuri/scipy,sonnyhu/scipy,endolith/scipy,jonycgn/scipy,maniteja123/scipy,zerothi/scipy,petebachant/scipy,ndchorley/scipy,bkendzior/scipy,Eric89GXL/scipy,pyramania/scipy,mortonjt/scipy,petebachant/scipy,newemailjdm/scipy,woodscn/scipy,piyush0609/scipy,mingwpy/scipy,Stefan-Endres/scipy,rmcgibbo/scipy,jamestwebber/scipy,nonhermitian/scipy,sonnyhu/scipy,minhlongdo/scipy,zaxliu/scipy,mikebenfield/scipy,mhogg/scipy,gertingold/scipy,pbrod/scipy,juliantaylor/scipy,larsmans/scipy,kalvdans/scipy,haudren/scipy,gdooper/scipy,mgaitan/scipy,dch312/scipy,juliantaylor/scipy,jamestwebber/scipy,richardotis/scipy,aarchiba/scipy,Dapid/scipy,andim/scipy,argriffing/scipy,grlee77/scipy,matthewalbani/scipy,trankmichael/scipy,Kamp9/scipy,bkendzior/scipy,surhudm/scipy,zxsted/scipy,zerothi/scipy,fredrikw/scipy,anntzer/scipy,fredrikw/scipy,andyfaff/scipy,scipy/scipy,gfyoung/scipy,gertingold/scipy,endolith/scipy,petebachant/scipy,woodscn/scipy,richardotis/scipy,WillieMaddox/scipy,Eric89GXL/scipy,rgommers/scipy,behzadnouri/scipy,person142/scipy,FRidh/scipy,kleskjr/scipy,person142/scipy,giorgiop/scipy,ChanderG/scipy,juliantaylor/scipy,sriki18/scipy,jor-/scipy,Dapid/scipy,efiring/scipy,argriffing/scipy,josephcslater/scipy,Shaswat27/scipy,scipy/scipy,befelix/scipy,raoulbq/scipy,josephcslater/scipy,anielsen001/scipy,zxsted/scipy,e-q/scipy,Shaswat27/scipy,lhilt/scipy,Dapid/scipy,andim/scipy,hainm/scipy,ChanderG/scipy,zxsted/scipy,pschella/scipy,minhlongdo/scipy,piyush0609/scipy,raoulbq/scipy,ndchorley/scipy,rmcgibbo/scipy,Stefan-Endres/scipy,argriffing/scipy,Gillu13/scipy,dominicelse/scipy,arokem/scipy,mtrbean/scipy,zaxliu/scipy,anielsen001/scipy,zxsted/scipy,aarchiba/scipy,pizzathief/scipy,Srisai85/scipy,endolith/scipy,newemailjdm/scipy,person142/scipy,arokem/scipy,maciejkula/scipy,mortada/scipy,gfyoung/scipy,maniteja123/scipy,bkendzior/scipy,kleskjr/scipy,nonhermitian/scipy,gef756/scipy,Srisai85/scipy,witcxc/scipy,gertingold/scipy,sonnyhu/scipy,ortylp/scipy,kalvdans/scipy,Dapid/scipy,ales-erjavec/scipy,kalvdans/scipy,ortylp/scipy,jakevdp/scipy,piyush0609/scipy,minhlongdo/scipy,vanpact/scipy,argriffing/scipy,ChanderG/scipy,woodscn/scipy,zerothi/scipy,befelix/scipy,haudren/scipy,maniteja123/scipy,fredrikw/scipy,arokem/scipy,haudren/scipy,Dapid/scipy,matthewalbani/scipy,matthewalbani/scipy,grlee77/scipy,mortada/scipy,raoulbq/scipy,gef756/scipy,niknow/scipy,dch312/scipy,efiring/scipy,mdhaber/scipy,endolith/scipy,mortonjt/scipy,hainm/scipy,futurulus/scipy,jseabold/scipy,mhogg/scipy,Stefan-Endres/scipy,mikebenfield/scipy,ortylp/scipy,pyramania/scipy,pbrod/scipy,nonhermitian/scipy,rmcgibbo/scipy,ogrisel/scipy,surhudm/scipy,grlee77/scipy,njwilson23/scipy,mdhaber/scipy,cpaulik/scipy,vanpact/scipy,jonycgn/scipy,fernand/scipy,jonycgn/scipy,Eric89GXL/scipy,sriki18/scipy,mortada/scipy,nvoron23/scipy,futurulus/scipy,minhlongdo/scipy,gertingold/scipy,ortylp/scipy,rgommers/scipy,vhaasteren/scipy,zerothi/scipy,perimosocordiae/scipy,chatcannon/scipy,felipebetancur/scipy,sriki18/scipy,person142/scipy,ilayn/scipy,efiring/scipy,FRidh/scipy,ogrisel/scipy,piyush0609/scipy,ales-erjavec/scipy,larsmans/scipy,anielsen001/scipy,perimosocordiae/scipy,cpaulik/scipy,apbard/scipy,zaxliu/scipy,mingwpy/scipy,vigna/scipy,andyfaff/scipy,arokem/scipy,jsilter/scipy,rmcgibbo/scipy,pyramania/scipy,ortylp/scipy,pschella/scipy,WillieMaddox/scipy,mortonjt/scipy,argriffing/scipy,minhlongdo/scipy,dch312/scipy,kleskjr/scipy,chatcannon/scipy,jjhelmus/scipy,aman-iitj/scipy,raoulbq/scipy,grlee77/scipy,e-q/scipy,lhilt/scipy,vhaasteren/scipy,mtrbean/scipy,juliantaylor/scipy,lukauskas/scipy,trankmichael/scipy,andyfaff/scipy,aman-iitj/scipy,trankmichael/scipy,WillieMaddox/scipy,scipy/scipy,pnedunuri/scipy,sonnyhu/scipy,jjhelmus/scipy,jseabold/scipy,jsilter/scipy,Kamp9/scipy,fernand/scipy,efiring/scipy,ndchorley/scipy,felipebetancur/scipy,WarrenWeckesser/scipy,Srisai85/scipy,anielsen001/scipy,Gillu13/scipy,sriki18/scipy,njwilson23/scipy,josephcslater/scipy,rgommers/scipy,befelix/scipy,apbard/scipy,WarrenWeckesser/scipy,dominicelse/scipy,FRidh/scipy,gef756/scipy,ortylp/scipy,Gillu13/scipy,Stefan-Endres/scipy,aman-iitj/scipy,behzadnouri/scipy,ales-erjavec/scipy,WillieMaddox/scipy,maciejkula/scipy,giorgiop/scipy,mtrbean/scipy,rmcgibbo/scipy,lukauskas/scipy,zaxliu/scipy,matthew-brett/scipy,felipebetancur/scipy,andyfaff/scipy,zaxliu/scipy,jor-/scipy,aeklant/scipy,lhilt/scipy,WarrenWeckesser/scipy,matthewalbani/scipy,rmcgibbo/scipy,mortonjt/scipy,behzadnouri/scipy,mgaitan/scipy,gdooper/scipy,jakevdp/scipy,chatcannon/scipy,kalvdans/scipy,pizzathief/scipy,scipy/scipy,newemailjdm/scipy,pbrod/scipy,pyramania/scipy,vigna/scipy,endolith/scipy,mikebenfield/scipy,jsilter/scipy,larsmans/scipy,lukauskas/scipy,jonycgn/scipy,larsmans/scipy,e-q/scipy,gef756/scipy,tylerjereddy/scipy,mingwpy/scipy,tylerjereddy/scipy,sauliusl/scipy,tylerjereddy/scipy,behzadnouri/scipy,pbrod/scipy,jjhelmus/scipy,richardotis/scipy,Kamp9/scipy,andim/scipy,WillieMaddox/scipy,vanpact/scipy,anielsen001/scipy,apbard/scipy,hainm/scipy,vigna/scipy,rgommers/scipy,woodscn/scipy,bkendzior/scipy,fredrikw/scipy,Newman101/scipy,andim/scipy,Kamp9/scipy,anntzer/scipy,Shaswat27/scipy,Kamp9/scipy,lhilt/scipy,mortada/scipy,sauliusl/scipy,felipebetancur/scipy,raoulbq/scipy,jamestwebber/scipy,nonhermitian/scipy,jor-/scipy,fernand/scipy,gef756/scipy,ogrisel/scipy,gdooper/scipy,lukauskas/scipy,felipebetancur/scipy,mtrbean/scipy,ales-erjavec/scipy,Shaswat27/scipy,Shaswat27/scipy,nonhermitian/scipy,mdhaber/scipy,fernand/scipy,petebachant/scipy,Gillu13/scipy,pnedunuri/scipy,fernand/scipy,sauliusl/scipy,chatcannon/scipy,ilayn/scipy,andim/scipy,Kamp9/scipy,pnedunuri/scipy,vhaasteren/scipy,mtrbean/scipy,niknow/scipy,surhudm/scipy,gfyoung/scipy,scipy/scipy,futurulus/scipy,newemailjdm/scipy,sauliusl/scipy,fredrikw/scipy,mdhaber/scipy,pschella/scipy,Dapid/scipy,zerothi/scipy,niknow/scipy,mdhaber/scipy,behzadnouri/scipy,arokem/scipy,Stefan-Endres/scipy,jakevdp/scipy,mhogg/scipy,Eric89GXL/scipy,woodscn/scipy,nmayorov/scipy,nmayorov/scipy,vhaasteren/scipy,gef756/scipy,giorgiop/scipy,anntzer/scipy,piyush0609/scipy,Eric89GXL/scipy,grlee77/scipy,pschella/scipy,vberaudi/scipy,Newman101/scipy,mhogg/scipy,Stefan-Endres/scipy,jjhelmus/scipy,mhogg/scipy,zaxliu/scipy,juliantaylor/scipy,witcxc/scipy,niknow/scipy,dch312/scipy,maciejkula/scipy,pbrod/scipy,aarchiba/scipy,vberaudi/scipy,petebachant/scipy,ChanderG/scipy,efiring/scipy,fernand/scipy,vberaudi/scipy,Newman101/scipy,nmayorov/scipy,Shaswat27/scipy,aeklant/scipy,FRidh/scipy,josephcslater/scipy,nvoron23/scipy,mortada/scipy,befelix/scipy,ndchorley/scipy,jor-/scipy,kalvdans/scipy,mikebenfield/scipy,cpaulik/scipy,haudren/scipy,jseabold/scipy,e-q/scipy,Gillu13/scipy,aeklant/scipy,WarrenWeckesser/scipy,mingwpy/scipy,felipebetancur/scipy,nvoron23/scipy,argriffing/scipy,futurulus/scipy,matthewalbani/scipy,mdhaber/scipy,minhlongdo/scipy,vigna/scipy,efiring/scipy,lukauskas/scipy,Srisai85/scipy,richardotis/scipy,endolith/scipy,cpaulik/scipy,giorgiop/scipy,vhaasteren/scipy,piyush0609/scipy,dominicelse/scipy,haudren/scipy,mortonjt/scipy,vhaasteren/scipy,Srisai85/scipy,jonycgn/scipy,gdooper/scipy,Gillu13/scipy,trankmichael/scipy,matthew-brett/scipy,nmayorov/scipy,nvoron23/scipy,witcxc/scipy,raoulbq/scipy,pizzathief/scipy,kleskjr/scipy,trankmichael/scipy,mtrbean/scipy,aeklant/scipy,gdooper/scipy,newemailjdm/scipy,sonnyhu/scipy,chatcannon/scipy,ChanderG/scipy,tylerjereddy/scipy,mingwpy/scipy,surhudm/scipy,scipy/scipy,ilayn/scipy,niknow/scipy,mortonjt/scipy,Newman101/scipy,andim/scipy,hainm/scipy,mhogg/scipy,pbrod/scipy,vanpact/scipy,jsilter/scipy,kleskjr/scipy,hainm/scipy,WarrenWeckesser/scipy,giorgiop/scipy,FRidh/scipy,richardotis/scipy,surhudm/scipy,sauliusl/scipy,futurulus/scipy,witcxc/scipy,Eric89GXL/scipy,ilayn/scipy,jseabold/scipy,aman-iitj/scipy,cpaulik/scipy,mgaitan/scipy,pizzathief/scipy,sriki18/scipy,jor-/scipy,matthew-brett/scipy,andyfaff/scipy,tylerjereddy/scipy,gertingold/scipy,FRidh/scipy,maniteja123/scipy,sriki18/scipy,jsilter/scipy,maciejkula/scipy,jseabold/scipy,niknow/scipy,lukauskas/scipy,njwilson23/scipy,pnedunuri/scipy,vberaudi/scipy,hainm/scipy,zxsted/scipy,anntzer/scipy,lhilt/scipy,WillieMaddox/scipy,sonnyhu/scipy,cpaulik/scipy,vberaudi/scipy,anntzer/scipy,mortada/scipy,befelix/scipy,pizzathief/scipy,perimosocordiae/scipy,Newman101/scipy,newemailjdm/scipy,ogrisel/scipy,jamestwebber/scipy,anntzer/scipy,pyramania/scipy,nmayorov/scipy,njwilson23/scipy,kleskjr/scipy,larsmans/scipy,WarrenWeckesser/scipy,aarchiba/scipy,andyfaff/scipy,richardotis/scipy,maniteja123/scipy,giorgiop/scipy,sauliusl/scipy,ndchorley/scipy,futurulus/scipy,Newman101/scipy,aeklant/scipy,dch312/scipy,nvoron23/scipy