[server] fix shift operation bug in SOURCE subnet processing spotted by Coverity