Fix rotate_{left, right} for multiple of  rotation amounts