Royal Bank of Canada (RBC) and the Canadian Imperial Bank of Commerce (CIBC) closed out big bank earnings by beating profit expectations.