Resistive wall modes and nonuniform wall rotation