GPIF posted a big quarterly loss due to a weak yen and booming global stocks, showing how currency swings hit Japan’s pension fund hard.