Control of non-Hermitian skin effect by staggered synthetic gauge fields