x86/aacpsdsp: optimize add_squares loop