Error analysis and iterative methods in pseudospectral semi-implicit simulations: an application to compressible convection