avcodec/aacpsdsp_template: Fix undefined integer overflow in ps_add_squares_c()